Hi,
In my present project I use a Picaxe28x, a ds1307 and a 24LC512.
All works OK. But I have trouble to store data on the DS1307 ($08 - $3f).
On the 24lc512 I would like to store data, the pointer, nevertheless in the memory of the Ds1307 at location 08,09.
Example:
'i2cslave %11010000, i2cslow, i2cbyte
i2cslave %11010000, i2cslow, i2cword
writei2c 08,(W6) ' W6 has the value 114
'writei2c 08,(b13,b12)
If I write the pointer to the address 08 and then read them back, I get instead of 114 the value 16.
Ideas?
In my present project I use a Picaxe28x, a ds1307 and a 24LC512.
All works OK. But I have trouble to store data on the DS1307 ($08 - $3f).
On the 24lc512 I would like to store data, the pointer, nevertheless in the memory of the Ds1307 at location 08,09.
Example:
'i2cslave %11010000, i2cslow, i2cbyte
i2cslave %11010000, i2cslow, i2cword
writei2c 08,(W6) ' W6 has the value 114
'writei2c 08,(b13,b12)
If I write the pointer to the address 08 and then read them back, I get instead of 114 the value 16.
Ideas?