Arduino-Storage
External Memory Storage library for Arduino
|
#include "Storage.h"
#include "GPIO.h"
#include "SPI.h"
#include "Driver/MC23LC1024.h"
#include "Hardware/SPI.h"
Go to the source code of this file.
Classes | |
struct | sample_t |
Macros | |
#define | USE_HARDWARE_SPI |
Functions | |
Storage::Cache | vector (sram,&sample, sizeof(sample), NMEMB) |
void | setup () |
void | loop () |
Variables | |
Hardware::SPI | spi |
MC23LC1024< BOARD::D10 > | sram (spi) |
sample_t | sample |
const size_t | NMEMB = 10000 |
#define USE_HARDWARE_SPI |
Definition at line 23 of file Vector.ino.
void loop | ( | ) |
Definition at line 65 of file Vector.ino.
void setup | ( | ) |
Definition at line 48 of file Vector.ino.
Storage::Cache vector | ( | sram | , |
& | sample, | ||
sizeof(sample) | , | ||
NMEMB | |||
) |
const size_t NMEMB = 10000 |
Definition at line 45 of file Vector.ino.
sample_t sample |
Definition at line 44 of file Vector.ino.
Hardware::SPI spi |
Definition at line 30 of file Vector.ino.
MC23LC1024<BOARD::D10> sram(spi) |