I'm trying to store (read&write( a struct using LittleFS on ESP8266.
Appreciate assistance
struct oper_string
{
bool state; /* On or Off */
uint8_t step; /* Step, in case of PWM */
uint8_t reason; /* What triggered the button */
time_t ontime; /* Start Clk */
time_t offtime; /* Off Clk */
};