SPI_25LC1024_read

Description

Read a single byte from a 25LC1024 serial EEPROM

Definition

uint SPI_25LC1024_read(uint addr)

Library

LIB/spi_25lc1024_lib.bas

Usage

On entry:
addr is the address within the EEPROM of the byte to read
On exit:
Return the data read from the EEPROM or an error code

If the returned value is less than 256 then it is valid data otherwise the returned value is an error code