well well Thanks Melanie for your nice and quick answer (as usual !)
may I come back on the control and adress parameters
I understand :
CONTROL is the physical adress of the I2C slave as you said $A0 to $AE for the 24LC64
ADRESS is an optional parameter (in this case a memory location in this eeprom) this parameter is a BYTE so the maximal value is $FF (dec 256)
and the 24LC64 need a 12 bits adress regarding the size.
It is not the case for a SP5055 or PCF8574 which have only ADRESS and
two bytes of data .... in this case parameter adress is ignored ?
I2Cwrite sda,scl, @I2C,[data1, data2], error routine label
Am I right ?, or still "swiming in the marmelade ?"
last sentence is a French translation .. hi ! like me ...
so , sorry for my possible bad translation or writing.
regards,
Francois
Bookmarks