SSD1306 OLED display driver
1.5.0
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
|
#include <core.h>
Static Public Member Functions | |
static void | begin () |
static void | setFrameRate (uint8_t fps) |
static uint8_t | getFrameRate () |
static uint8_t | getCpuLoad () |
static bool | nextFrame () |
static void | loopCallback (TLoopCallback callback) |
![]() | |
static bool | pressed (uint8_t buttons) |
Returns true if button or specific combination of buttons is not pressed. Returns true if button or specific combination of buttons is pressed. More... | |
static bool | notPressed (uint8_t buttons) |
Returns true if button or specific combination of buttons is not pressed. Returns true if button or specific combination of buttons is not pressed. More... | |
static uint8_t | buttonsState () |
Returns bits of all pressed buttons Returns bits of all pressed buttons. | |
static void | connectCustomKeys (TNanoEngineGetButtons handler) |
static void | connectZKeypad (uint8_t analogPin) |
Enables engine to use Z-Keypad. Enables engine to use Z-Keypad. Please refer to arkanoid example for schematics. More... | |
static void | connectArduboyKeys () |
Configures NanoEngine8 to use Arduboy keys layout. Configures NanoEngine8 to use Arduboy keys layout. | |
Static Protected Attributes | |
static uint8_t | m_frameDurationMs = 1000/ENGINE_DEFAULT_FPS |
static uint8_t | m_fps = ENGINE_DEFAULT_FPS |
static uint8_t | m_cpuLoad = 0 |
static uint32_t | m_lastFrameTs |
static TLoopCallback | m_loop = nullptr |
![]() | |
static TNanoEngineGetButtons | m_onButtons = nullptr |
Additional Inherited Members | |
![]() | |
NanoEngineInputs () | |
Nano Engine Core class, contains generic frame-rate control functions
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |