Instructions

256Libraries
© 2013 Conrad Electronic
5.10.3 EEPROM_ReadFloat
EEPROM Functions
Syntax
float EEPROM_ReadFloat(word pos);
Sub EEPROM_ReadFloat(pos As Word) As Single
Description
Reads a floating point value out of 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
Return Parameter
EEPROM value
5.10.4 EEPROM_Write
EEPROM Functions
Syntax
void EEPROM_Write(word pos, byte val);
Sub EEPROM_Write(pos As Word, val As Byte)
Description
Writes one byte into the EEPROM at position pos.
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