question about i2c eeprom functions


hello,

i know "void i2c_eeprom_write_page"
and "void i2c_eeprom_read_buffer" functions using for?

can use them in order read/write values of more 1 byte?
will work integers?

thanks!
omri :)

i assume we're talking microchip 24xxyyy family?

i haven't explored closely, there limits wire.h's implementation (specifically, buffer size) prevent doing full 64 byte page write.  iirc, you're limited buffer of 32 bytes, means you'd able write less 32 bytes of data in "page".

apparently can write part of page eeprom, cannot write across physical page boundary.  what have not explored if must start write @ page boundary, or if can start page write anywhere within physical page.  if so, do, say, 4 16 byte page writes fill page.

if application can stand ram loss, can hack wire library increase buffer size buffer 64 byte page (plus necessary i2c overhead).

-j



Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > question about i2c eeprom functions


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums