|
| | Adafruit_SSD1306 (PinName RST, uint8_t rawHeight=32, uint8_t rawWidth=128) |
| |
| void | begin (uint8_t switchvcc=SSD1306_SWITCHCAPVCC) |
| |
| virtual void | command (uint8_t c)=0 |
| |
| virtual void | data (uint8_t c)=0 |
| |
| virtual void | drawPixel (int16_t x, int16_t y, uint16_t color) |
| | Paint one BLACK or WHITE pixel in the display buffer.
|
| |
| void | clearDisplay (void) |
| | Clear the display buffer.
|
| |
| virtual void | invertDisplay (bool i) |
| |
| void | display () |
| | Cause the display to be updated with the buffer content.
|
| |
| virtual void | splash () |
| | Fill the buffer with the AdaFruit splash screen.
|
| |
| | Adafruit_GFX (int16_t w, int16_t h) |
| |
| virtual int | _putc (int value) |
| |
| virtual int | _getc () |
| |
| void | drawChar (int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t bg, uint8_t size) |
| | Draw a text character at a specified pixel location.
|
| |
| size_t | writeChar (uint8_t) |
| | Draw a text character at the text cursor location.
|
| |
| int16_t | width (void) |
| | Get the width of the display in pixels.
|
| |
| int16_t | height (void) |
| | Get the height of the display in pixels.
|
| |
| void | setTextCursor (int16_t x, int16_t y) |
| | Set the text cursor location, based on the size of the text.
|
| |
| void | setTextColor (uint16_t c) |
| | Set the text foreground and background colors to be the same.
|
| |
| void | setTextColor (uint16_t c, uint16_t b) |
| | Set the text foreground and background colors independantly.
|
| |
| void | setTextWrap (bool w) |
| | Set text wraping mode true or false.
|
| |
| void | setRotation (uint8_t r) |
| | Set the display rotation, 1, 2, 3, or 4.
|
| |
| uint8_t | getRotation (void) |
| | Get the current rotation.
|
| |
The pure base class for the SSD1306 display driver.
You should derive from this for a new transport interface type, such as the SPI and I2C drivers.