a simple wrapper above I2C to provider EEPROM access API
Dependents: ou_mbed_oled ou_mbed_eeprom ou_mbed_tmp102
Diff: eeprom.h
- Revision:
- 2:ce12a405cd3a
- Parent:
- 1:0c876c06b026
- Child:
- 3:8ddab67b62c3
--- a/eeprom.h Fri Jun 15 23:03:32 2018 +0000 +++ b/eeprom.h Mon Jun 18 22:53:01 2018 +0000 @@ -9,6 +9,8 @@ * About I2C EEPROM 24FC256: * http://ww1.microchip.com/downloads/en/DeviceDoc/21203M.pdf */ +#ifndef _EEPROM_H_ +#define _EEPROM_H_ #include "mbed.h" @@ -113,3 +115,5 @@ TWO_BYTES_ADDRESS, THREE_BYTES_ADDRESS }; + +#endif \ No newline at end of file