Begin the display of the modes on the display.

This commit is contained in:
Jonathan Naylor
2020-11-23 11:00:43 +00:00
parent 757c3ce0d5
commit b4ff147a19
2 changed files with 423 additions and 5 deletions
+12 -2
View File
@@ -33,10 +33,20 @@ public:
bool init();
void setMode(uint8_t state);
void setMode(int state);
private:
CI2CPort i2c;
CI2CPort m_i2c;
uint8_t* m_oledBuffer;
void write(uint8_t size, const char* text);
void clear();
void display();
void sendCommand(uint8_t c);
void sendCommand(uint8_t c0, uint8_t c1);
void sendCommand(uint8_t c0, uint8_t c1, uint8_t c2);
void sendData(const uint8_t* c, uint16_t length);
};
#endif