fernando_g
Senior Member
There is a thread where Allycat explains how to write multiple consecutive variables into the internal EEPROM.
He offers the following code snippet:
How about using a similar expression for external EEPROM? Could something to the effect be done?
Assume that the values contained in the different bptr variables have been previously stored.
He offers the following code snippet:
Code:
bptr = 10 ; Points to b10
write eeprom_location,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc
Code:
i2cslave %10100000, i2cfast, i2cword 'EEPROM setup
bptr= $1C 'Assuming I've a 14M2
writei2c EEPROM_address,(@bptrinc,@bptrinc,@bptrinc,@bptrinc,@bptrinc)