SSD1306Ascii
|
Base class for ssd1306 displays. More...
Classes | |
class | SSD1306Ascii |
SSD1306 base class. More... | |
struct | TickerState |
ticker state More... | |
Macros | |
#define | AVRI2C_FASTMODE 1 |
#define | INCLUDE_SCROLLING 1 |
#define | INITIAL_SCROLL_MODE SCROLL_MODE_OFF |
#define | MULTIPLE_I2C_PORTS 1 |
#define | OPTIMIZE_I2C 1 |
#define | SCROLL_MODE_APP 2 |
#define | SCROLL_MODE_AUTO 1 |
#define | SCROLL_MODE_OFF 0 |
#define | SDD1306_ASCII_VERSION 10303 |
#define | SSD1306_MODE_CMD 0 |
#define | SSD1306_MODE_RAM 1 |
#define | SSD1306_MODE_RAM_BUF 2 |
#define | TICKER_QUEUE_DIM 6 |
Functions | |
void | oledReset (uint8_t rst) |
Reset the display controller. More... | |
Base class for ssd1306 displays.
#define AVRI2C_FASTMODE 1 |
AvrI2c uses 400 kHz fast mode if AVRI2C_FASTMODE is nonzero else 100 kHz.
#define INCLUDE_SCROLLING 1 |
Set Scrolling mode for newline.
If INCLUDE_SCROLLING is defined to be zero, newline will not scroll the display and code for scrolling will not be included. This option will save some code space and three bytes of RAM.
If INCLUDE_SCROLLING is nonzero, the scroll feature will included.
#define INITIAL_SCROLL_MODE SCROLL_MODE_OFF |
Initial scroll mode, SCROLL_MODE_OFF, SCROLL_MODE_AUTO, or SCROLL_MODE_APP.
#define MULTIPLE_I2C_PORTS 1 |
If MULTIPLE_I2C_PORTS is nonzero, define a constructor with port selection.
#define OPTIMIZE_I2C 1 |
Use larger faster I2C code.
#define SCROLL_MODE_APP 2 |
Newline scrolls the RAM window. The app scrolls the display window.
#define SCROLL_MODE_AUTO 1 |
Newline will scroll both the display and RAM windows.
#define SCROLL_MODE_OFF 0 |
Newline will not scroll the display or RAM window.
#define SDD1306_ASCII_VERSION 10303 |
SSD1306Ascii version
#define SSD1306_MODE_CMD 0 |
Write to Command register.
#define SSD1306_MODE_RAM 1 |
Write one byte to display RAM.
#define SSD1306_MODE_RAM_BUF 2 |
Write to display RAM with possible buffering.
#define TICKER_QUEUE_DIM 6 |
Dimension of TickerState pointer queue
|
inline |
Reset the display controller.
[in] | rst | Reset pin number. |