1
0
forked from me/IronOS

Merge master into navigation-animations

This commit is contained in:
Patrick Horlebein
2020-04-17 09:38:16 +02:00
13 changed files with 173 additions and 66 deletions

View File

@@ -24,6 +24,7 @@ extern "C" {
#endif
#define DEVICEADDR_OLED (0x3c<<1)
#define OLED_WIDTH 96
#define OLED_HEIGHT 16
#define FRAMEBUFFER_START 17
class OLED {
@@ -99,6 +100,7 @@ public:
static void drawFilledRect(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1,
bool clear);
static void drawHeatSymbol(uint8_t state);
static void drawScrollIndicator(uint8_t p, uint8_t h); // Draws a scrolling position indicator
static void transitionToContents(uint8_t *framebuffer, bool forwardNavigation);
static void set_framebuffer(uint8_t *buffer);
private: