|
Arduino-Storage
External Memory Storage library for Arduino
|

Go to the source code of this file.
Classes | |
| struct | config_t |
Macros | |
| #define | PERSISTENT(v) persistent_ ## v |
Functions | |
| Storage::Cache PERSISTENT() | reset (eeprom,&reset, sizeof(reset)) |
| Storage::Cache PERSISTENT() | config (eeprom,&config, sizeof(config)) |
| void | setup () |
| void | loop () |
Variables | |
| EEPROM | eeprom |
| bool | reset |
| config_t | config |
| static const char | ssid [] = "Wi-Fi SSID" |
| static const uint8_t | mac [6] = { 0xde, 0xad, 0xbe, 0xef, 0xfe, 0xed } |
Definition at line 15 of file Persistent.ino.
| Storage::Cache PERSISTENT() config | ( | eeprom | , |
| & | config, | ||
| sizeof(config) | |||
| ) |
| void loop | ( | ) |
Definition at line 57 of file Persistent.ino.
| Storage::Cache PERSISTENT() reset | ( | eeprom | , |
| & | reset, | ||
| sizeof(reset) | |||
| ) |
| void setup | ( | ) |
Definition at line 29 of file Persistent.ino.
| config_t config |
Definition at line 22 of file Persistent.ino.
| EEPROM eeprom |
Definition at line 5 of file Persistent.ino.
|
static |
Definition at line 27 of file Persistent.ino.
| bool reset |
Definition at line 18 of file Persistent.ino.
|
static |
Definition at line 26 of file Persistent.ino.