mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-23 19:15:00 +02:00
Add skeleton I2C files.
This commit is contained in:
@@ -23,11 +23,12 @@
|
||||
#if !defined(I2CPORT_H)
|
||||
#define I2CPORT_H
|
||||
|
||||
#include "Globals.h"
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
class CI2CPort {
|
||||
public:
|
||||
CI2CPort();
|
||||
CI2CPort(uint8_t n);
|
||||
|
||||
bool init();
|
||||
|
||||
@@ -36,6 +37,7 @@ public:
|
||||
uint8_t writeData(const uint8_t* data, uint8_t length);
|
||||
|
||||
private:
|
||||
bool m_ok;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user