Buzby
Senior Member
Hi All,
I'm starting another project, this one will use a 24LC64 I2C EEPROM to hold random length records, none greater than 32 bytes.
What I'm unsure about is the way the page write buffer works. I've read the manuals, but I'm still not clear.
If I do :
or if I do :
I know these will be OK, because I'm only writing 1 byte, or multiple bytes in the same page write buffer range.
But what if I do :
This write crosses a multiple of the page write buffer size. ( 3 x 32 = 96 )
Does the PICAXE recognise this and do something about it ?
Or will it fail and write "cd" to addrs 64,65 ?
Or have I got it completely wrong !! ?
Thanks,
Buzby
I'm starting another project, this one will use a 24LC64 I2C EEPROM to hold random length records, none greater than 32 bytes.
What I'm unsure about is the way the page write buffer works. I've read the manuals, but I'm still not clear.
If I do :
Code:
hi2cout 92, ( "a" ) ' Puts "a" in addr 92
pause 10
Code:
hi2cout 92, ( "a","b","c","d" ) ' Puts "a","b","c","d" in addrs 92,93,94,95
pause 10
But what if I do :
Code:
hi2cout 94, ( "a","b","c","d" ) ' Puts "a","b","c","d" in addrs 94,95,96,97
pause 10
Does the PICAXE recognise this and do something about it ?
Or will it fail and write "cd" to addrs 64,65 ?
Or have I got it completely wrong !! ?
Thanks,
Buzby