Use a proper master I2C driver.

This commit is contained in:
Jonathan Naylor
2020-11-24 10:46:25 +00:00
parent 5e8e0577da
commit df749d3286
9 changed files with 225 additions and 219 deletions
+2 -1
View File
@@ -23,7 +23,7 @@
#if !defined(I2COLED_H)
#define I2COLED_H
#include <cstdint>
#include "I2CPort.h"
class CI2COLED {
public:
@@ -34,6 +34,7 @@ public:
void setMode(int state);
private:
CI2CPort m_i2c;
uint8_t* m_oledBuffer;
void write(const char* text);