Quote Originally Posted by Pesticida View Post
Hi,
I search the Best way to save RFID Data !
Did some one have experience what I should use EEprom or something else.
I Try with 24C08 but the problem is that I have a adress byte but how this can work when I go for example to adress 512 this is more then a byte.
Adress var byte
Adress = 512 but this is not byte anymore
I2CWrite sda,scl,%10101000,Adress,[$00,$16,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0 0,$00,$00,$00]
Thanks for any example.
Regards Pesti
Then I suppose your address might magically become a WORD just like the good book says in the I2CWrite section...and I quote:

The Address size sent (byte or word) is determined by the size of the variable that is used. If a byte-sized variable is used for the Address, an 8-bit address is sent. If a word-sized variable is used, a 16-bit address is sent. Be sure to use the proper sized variable for the device you wish to communicate with. Constants should not be used for the Address as the size can vary dependent on the size of the constant. Also, expressions should not be used as they can cause an improper Address size to be sent.