Add skeleton I2C files.

This commit is contained in:
Jonathan Naylor
2020-11-18 20:21:36 +00:00
parent 2285f9bd82
commit f0804b46e5
10 changed files with 125 additions and 21 deletions
+7 -2
View File
@@ -23,15 +23,20 @@
#if !defined(I2COLED_H)
#define I2COLED_H
#include "Globals.h"
#include <cstdint>
#include "I2CPort.h"
class CI2COLED {
public:
CI2COLED();
void setMode(MMDVM_STATE state);
bool init();
void setMode(uint8_t state);
private:
CI2CPort i2c;
};
#endif