SSD1306 OLED display driver
1.6.1
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#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 |
static uint8_t | m_fps |
static uint8_t | m_cpuLoad |
static uint32_t | m_lastFrameTs |
static TLoopCallback | m_loop |
![]() | |
static TNanoEngineGetButtons | m_onButtons |
Additional Inherited Members | |
![]() | |
NanoEngineInputs () | |
Nano Engine Core class, contains generic frame-rate control functions
|
static |
Initializes internal timestamps.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Returns true if it is time to render next frame
|
static |
Sets working frame-rate for the engine
fps | - frame rate to set between [1-255] |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |