first publish

Dependents:   eeprom_test eeprom_test MCP3204_test

24LC1025.h

Committer:
sashida_h
Date:
2019-11-20
Revision:
0:8047024a08c2
Child:
1:41cf2e3bb7f3

File content as of revision 0:8047024a08c2:

#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);
};