Fork to see if I can get working

Dependencies:   BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated

Fork of xDotBridge_update_test20180823 by Matt Briggs

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers EepromLog.h Source File

EepromLog.h

00001 #ifndef EEPROMLOG_H_
00002 #define EEPROMLOG_H_
00003 
00004 #include <stdint.h>
00005 
00006 class EepromLog {
00007 public:
00008     EepromLog (uint16_t baseAddr, uint8_t size);
00009     ~EepromLog ();
00010     void clear();
00011     bool read();
00012     bool save();
00013 
00014 protected:
00015     uint16_t mBaseAddr;
00016     uint8_t *mData;
00017     uint8_t mLogSize;
00018 };
00019 
00020 #endif