Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
xDotBridge/inc/EepromLog.h
- Committer:
- mbriggs_vortex
- Date:
- 2017-11-29
- Revision:
- 100:0882cf295f8e
- Parent:
- 73:dc5adf462660
File content as of revision 100:0882cf295f8e:
#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
