7M24C02::M24C02( TwoWire& wire, uint8_t i2c_address ) : I2C_device( wire, i2c_address )
24 int r = reg_w( byte_adr, data );
34#define PAGE_WRITE_SIZE 16
44 w_size = reg_w( byte_adr, dp, w_size ) - 1;
63 while ( !ping() && n-- )
67 Serial.println(
"time out in M24C02::wait_write_complete()");
74 return reg_r( byte_adr );
79#define PAGE_READ_SIZE 32
86 r_size = reg_r( byte_adr, dp, r_size );
int wait_write_complete(int n)
uint8_t read(int byte_adr)
M24C02(uint8_t i2c_address=(0xA0 > > 1))
int write(int byte_adr, uint8_t data)