Arduino-Storage
External Memory Storage library for Arduino
Vector.ino File Reference
#include "Storage.h"
#include "GPIO.h"
#include "SPI.h"
#include "Driver/MC23LC1024.h"
#include "Hardware/SPI.h"
Include dependency graph for Vector.ino:

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
 

Macro Definition Documentation

#define USE_HARDWARE_SPI

Definition at line 23 of file Vector.ino.

Function Documentation

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   
)

Variable Documentation

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)