![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/inc/EepromLog.h
- Revision:
- 73:dc5adf462660
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xDotBridge/inc/EepromLog.h Mon Apr 10 16:06:31 2017 -0600 @@ -0,0 +1,20 @@ +#ifndef EEPROMLOG_H_ +#define EEPROMLOG_H_ + +#include <stdint.h> + +class EepromLog { +public: + EepromLog (uint16_t baseAddr, uint8_t size); + ~EepromLog (); + void clear(); + bool read(); + bool save(); + +protected: + uint16_t mBaseAddr; + uint8_t *mData; + uint8_t mLogSize; +}; + +#endif