C Control PRO Unit Mega 128 198219 User Manual

Product codes
198219
Page of 429
261
C-Control Pro IDE
© 2013 Conrad Electronic
5.10.1 EEPROM_Read
EEPROM Funktionen
Syntax
byte EEPROM_Read(word pos);
Sub EEPROM_Read(pos As WordAs Byte
Beschreibung
Liest ein byte von Position pos aus dem EEPROM.
  Auf einem  C-Control  Pro  Mega  sind  die  ersten  32  byte  für das  C-Control  Pro  System  reserviert.  Ein
Wert für pos von 0 und größer greift deshalb auf byte 32 und aufwärts im EEPROM zu.
Parameter 
pos   Position im EEPROM
Rückgabewert
der Wert des byte an Position pos im EEPROM 
5.10.2 EEPROM_ReadWord
EEPROM Funktionen
Syntax
word EEPROM_ReadWord(word pos);
Sub EEPROM_ReadWord(pos As WordAs Word
Beschreibung
Liest ein word von Position pos aus  dem  EEPROM. Der Wert von  pos  ist eine  Byte  Position  im  EEPROM.
Dies sollte bei word oder Fließkommazugriffen beachtet werden.
  Auf einem  C-Control  Pro  Mega  sind  die  ersten  32  byte  für das  C-Control  Pro  System  reserviert.  Ein
Wert für pos von 0 und größer greift deshalb auf byte 32 und aufwärts im EEPROM zu.
Parameter 
pos   Byte Position im EEPROM
Rückgabewert
der Wert des word an Position pos im EEPROM