I have a ESP8266 board, I want to dynamic set to array struct class in animList class and write to eeprom from json array. could you give me example write, read and clear eepprom?
my code
struct animations
{
textEffect_t effecIn; // Animation type In
textEffect_t effecOut; // Animation type Out - In this example there are the same, but you can mix them.
const char * pText; // Text to display
uint16_t speed; // Animation speed (multiplier for library default) larger number = SLOWER
uint16_t pause; // pause (multiplier for library default) larger number = SLOWER
textPosition_t align; // PA_LEFT, PA_CENTER, PA_RIGHT
};
animations animList[] =
{
{ { PA_PRINT, PA_PRINT, "PRINT", 3, 2, PA_CENTER }
};