7M24C02::M24C02( TwoWire& wire, uint8_t i2c_address ) : I2C_device( wire, i2c_address )
24 int r = reg_w( byte_adr, data );
45 memcpy( data + offset, dp, w_size );
64 w_size = reg_w( byte_adr, dp, w_size ) - 1;
83 while ( !ping() && n-- )
87 Serial.println(
"time out in M24C02::wait_write_complete()");
94 return reg_r( byte_adr );
105 r_size = reg_r( byte_adr, dp, r_size );
int wait_write_complete(int n)
uint8_t read(int byte_adr)
int within_a_page(int byte_adr, int length)
static constexpr int PAGE_WRITE_SIZE
static constexpr int PAGE_READ_SIZE
M24C02(uint8_t i2c_address=(0xA0 > > 1))
int write(int byte_adr, uint8_t data)