Class that stores state and functions for interacting with SSD1325 OLED displays.
More...
#include <Adafruit_SSD1325.h>
|
| Adafruit_SSD1325 (int8_t SID, int8_t SCLK, int8_t DC, int8_t RST, int8_t CS) |
| Constructor for SSD1325 display. More...
|
|
| Adafruit_SSD1325 (int8_t SID, int8_t SCLK, int8_t DC, int8_t RST) |
| Constructor for SSD1325 display. More...
|
|
| Adafruit_SSD1325 (int8_t DC, int8_t RST, int8_t CS) |
| Constructor for SSD1325 display. More...
|
|
void | begin (void) |
| Allocate and initialize display.
|
|
void | command (uint8_t c) |
| Issue single command to SSD1325. More...
|
|
void | data (uint8_t c) |
| Send data to SSD1325. More...
|
|
void | clearDisplay (void) |
| High-level command to clear the display.
|
|
void | invertDisplay (uint8_t i) |
| High-level command that enables or disables invert mode (WoB vs BoW) More...
|
|
void | setBrightness (uint8_t i) |
| Sets the display brightness. More...
|
|
void | display () |
| Push data currently in RAM to SSD1325 display.
|
|
void | drawPixel (int16_t x, int16_t y, uint16_t color) |
| Set/clear/invert a single pixel. More...
|
|
Class that stores state and functions for interacting with SSD1325 OLED displays.
◆ Adafruit_SSD1325() [1/3]
Adafruit_SSD1325::Adafruit_SSD1325 |
( |
int8_t |
SID, |
|
|
int8_t |
SCLK, |
|
|
int8_t |
DC, |
|
|
int8_t |
RST, |
|
|
int8_t |
CS |
|
) |
| |
|
inline |
Constructor for SSD1325 display.
- Parameters
-
SID | MOSI (microcontroller out, secondary in) pin |
SCLK | Serial clock pin |
DC | Data/command pin |
RST | Reset pin |
CS | Chip-select pin |
◆ Adafruit_SSD1325() [2/3]
Adafruit_SSD1325::Adafruit_SSD1325 |
( |
int8_t |
SID, |
|
|
int8_t |
SCLK, |
|
|
int8_t |
DC, |
|
|
int8_t |
RST |
|
) |
| |
|
inline |
Constructor for SSD1325 display.
- Parameters
-
SID | MOSI (microcontroller out, secondary in) pin |
SCLK | Serial clock pin |
DC | Data/command pin |
RST | Reset pin |
◆ Adafruit_SSD1325() [3/3]
Adafruit_SSD1325::Adafruit_SSD1325 |
( |
int8_t |
DC, |
|
|
int8_t |
RST, |
|
|
int8_t |
CS |
|
) |
| |
|
inline |
Constructor for SSD1325 display.
- Parameters
-
DC | Data/command pin |
RST | Reset pin |
CS | Chip-select pin |
◆ command()
void Adafruit_SSD1325::command |
( |
uint8_t |
c | ) |
|
Issue single command to SSD1325.
- Parameters
-
◆ data()
void Adafruit_SSD1325::data |
( |
uint8_t |
c | ) |
|
Send data to SSD1325.
- Parameters
-
◆ invertDisplay()
void Adafruit_SSD1325::invertDisplay |
( |
uint8_t |
i | ) |
|
High-level command that enables or disables invert mode (WoB vs BoW)
- Parameters
-
i | Whether or not to switch to invert mode |
◆ setBrightness()
void Adafruit_SSD1325::setBrightness |
( |
uint8_t |
i | ) |
|
Sets the display brightness.
- Parameters
-
◆ drawPixel()
void Adafruit_SSD1325::drawPixel |
( |
int16_t |
x, |
|
|
int16_t |
y, |
|
|
uint16_t |
color |
|
) |
| |
Set/clear/invert a single pixel.
- Parameters
-
x | Column of display |
y | Row of display |
color | Pixel color |
The documentation for this class was generated from the following files: