dscGetEEPROM()

byte dscGetEEPROM(short board, UInt32 address, ref byte data)

Reads 8-bit data from the EEPROM at the specified address. The EEPROM on all AT boards and Emerald-MM-8 contains 256 bytes. On the AT boards, all 256 bytes are addressable. On the Emerald-MM-8, only the lower 128 bytes are addressable. If there is a timeout failure waiting for the EEPROM to respond, the function will return DE_OPERATION_TIMED_OUT.

Name

Description

board

The handle of the board to operate on

address

Address in the EEPROM to read data from. On AT boards, the range is 0-255. On Emerald-MM-8, the range is 0-127.

data

8-bit data from the specified address in the EEPROM

Return Value

Error code or 0.

Last updated