A driver implementation for the SSD1351
#include <oled_ssd1351.h>
Classes | |
| struct | Config |
Public Member Functions | |
| void | Init (Config config) |
| size_t | Width () const |
| size_t | Height () const |
| void | DrawPixel (uint_fast8_t x, uint_fast8_t y, bool on) |
| void | Fill (bool on) |
| void | Update () |
| void | SetColorFG (uint8_t red, uint8_t green, uint8_t blue) |
| void | SetColorBG (uint8_t red, uint8_t green, uint8_t blue) |
Protected Attributes | |
| Transport | transport_ |
| uint16_t | buffer_ [width *height] |
| uint16_t | fg_color_ |
| uint16_t | bg_color_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Update the display
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |