Instructions

257 C-Control Pro IDE
© 2013 Conrad Electronic
5.10.5 EEPROM_WriteWord
EEPROM Functions
Syntax
void EEPROM_WriteWord(word pos, word val);
Sub EEPROM_WriteWord(pos As Word, val As Word)
Description
Writes one word into the EEPROM at position pos. The value of pos describes a byte position in the
EEPROM. This should be taken care of when using word or floating point accesses.
On the C-Control Pro Mega Units the first 32 byte are reserved for the system of the C-Control Pro.
Therefore a pos value of 0 and higher accesses the EEPROM memory at position 32 and upwards.
Parameter
pos byte position in EEPROM
val new EEPROM value
5.10.6 EEPROM_WriteFloat
EEPROM Functions
Syntax
void EEPROM_WriteFloat(word pos, float val);
Sub EEPROM_WriteFloat(pos As Word, val As Single)
Description
Writes a floating point value into the EEPROM at position pos. The value of pos describes a byte position in
the EEPROM. This should be taken care of when using word or floating point accesses.
On the C-Control Pro Mega Units the first 32 byte are reserved for the system of the C-Control Pro.
Therefore a pos value of 0 and higher accesses the EEPROM memory at position 32 and upwards.
Parameter
pos byte position in EEPROM
val new EEPROM value