first publish

Dependents:   eeprom_test eeprom_test MCP3204_test

Revision:
0:8047024a08c2
Child:
1:41cf2e3bb7f3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/24LC1025.h	Wed Nov 20 03:55:16 2019 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+// 24LC64 の書き込み、読み込みテスト
+
+class I2CEEprom : public I2C
+{
+private:
+  unsigned char addr;
+public:
+  I2CEEprom();
+  I2CEEprom(PinName data, PinName clock, int address);
+  void write(unsigned int address,  unsigned char data);
+  unsigned char read(unsigned int address);
+};
\ No newline at end of file