Arduino-Storage
External Memory Storage library for Arduino
|
#include "Storage.h"
#include "TWI.h"
#include "Driver/AT24CXX.h"
#include "Driver/EEPROM.h"
#include "GPIO.h"
#include "Software/TWI.h"
Go to the source code of this file.
Macros | |
#define | USE_SOFTWARE_TWI |
#define | FREQ 800000UL |
#define | CACHE(v) cache_ ## v |
Functions | |
Storage::Cache CACHE() | v (eeprom, v, sizeof(v)) |
Storage::Cache CACHE() | w (eeprom, w, sizeof(w)) |
void | calc () |
void | setup () |
void | loop () |
Variables | |
Software::TWI< BOARD::D18, BOARD::D19 > | twi |
AT24C32 | eeprom (twi) |
int16_t | v [32] |
char | w [32] |
Storage::Cache CACHE() v | ( | eeprom | , |
v | , | ||
sizeof(v) | |||
) |
Storage::Cache CACHE() w | ( | eeprom | , |
w | , | ||
sizeof(w) | |||
) |