Instructions
255 C-Control Pro IDE
© 2013 Conrad Electronic
5.10.1 EEPROM_Read
EEPROM Functions
Syntax
byte EEPROM_Read(word pos);
Sub EEPROM_Read(pos As Word) As Byte
Description
Reads one byte out of 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
Return Parameter
EEPROM value
5.10.2 EEPROM_ReadWord
EEPROM Functions
Syntax
word EEPROM_ReadWord(word pos);
Sub EEPROM_ReadWord(pos As Word) As Word
Description
Reads one word 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