Add the OLED display handling code.

This commit is contained in:
Jonathan Naylor
2020-11-23 12:11:59 +00:00
parent b4ff147a19
commit 112a136060
2 changed files with 93 additions and 10 deletions
+4 -1
View File
@@ -39,7 +39,10 @@ private:
CI2CPort m_i2c;
uint8_t* m_oledBuffer;
void write(uint8_t size, const char* text);
void write(const char* text);
void write(uint8_t x, uint8_t y, char c, uint8_t size);
void drawPixel(uint8_t x, uint8_t y);
void fillRect(uint8_t x, uint8_t y, uint8_t width, uint8_t height);
void clear();
void display();