Hi, Simon
I had the same problem with EEprom 16 bits storing ...
a simple way is to trucate values into Value.lowbyte and value.highbyte
for addressing, i.e use addresses for Highbytes as 2*n and for lowbytes as 2*n + 1 ...
and when reading you do the same.
there's no mix that way - just takes 2 I2CWRITE lines instead of 1 !!!
as address is defined as a Word ... the count for me is 65536 locations at max ...so, it could explain overwriting some values !!! for 256k you will probably have to add some extra block addressing.
in French .... would be easier !!! let's say this accelometer makes me think to something in the air ....
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks