Shield Code 6.0
|
This control's microchip's AT25M02 EEPROM Device. This treats it as a circular queue, and will not overwrite existing data. More...
Go to the source code of this file.
Macros | |
#define | CHIP_SELECT_PIN 4 |
#define | SPI_DATA_RATE 5000000 |
#define | PAGE_LEN 256 |
#define | NUM_PAGES (RAM_SIZE / PAGE_LEN) |
Variables | |
const uint32_t | RAM_SIZE = (1L << 18) |
This control's microchip's AT25M02 EEPROM Device. This treats it as a circular queue, and will not overwrite existing data.
I (Sean) had to move initialization code out of the constructor because the compiler does not like initializing SPI in the constructor It seems like most of this is written for the old version of the Arduino SPI library - probably a good idea too go through and fix that at some point.
Definition in file AT25M02.cpp.
#define CHIP_SELECT_PIN 4 |
Definition at line 17 of file AT25M02.cpp.
Definition at line 25 of file AT25M02.cpp.
#define PAGE_LEN 256 |
Definition at line 23 of file AT25M02.cpp.
#define SPI_DATA_RATE 5000000 |
Definition at line 20 of file AT25M02.cpp.
const uint32_t RAM_SIZE = (1L << 18) |
Definition at line 24 of file AT25M02.cpp.