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.
Dependents: 1_24FC1025 4_EEPROM_baro_press 0_twe_Tmode 4_sensor-Integration-function2 ... more
Diff: EEPROM.h
- Revision:
- 0:0dcd9dd39131
- Child:
- 2:8dcae8bac779
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/EEPROM.h Fri Jul 03 02:50:04 2020 +0000 @@ -0,0 +1,20 @@ +#ifndef MBED_EEPROM_H +#define MBED_EEPROM_H + +#include "mbed.h" + + +class EEPROM +{ +public: + EEPROM(PinName sda,PinName scl); + ~EEPROM(); + + void write(char address, unsigned int eeaddress, char *data, int size); //基本write関数 + void read(char address, unsigned int eeaddress, char *data, int size); //基本read関数 + +private: + I2C i2c; +}; + +#endif \ No newline at end of file