RTC_DATA_ATTR and struct
Posted: Thu Aug 22, 2019 9:18 am
Is it possible to store data under struct like the one below in RTC memory so I can retain the values of all the objects on wake up
Code: Select all
struct Button {
const uint8_t PIN;
volatile uint32_t numberKeyPresses;
volatile bool pressed;
};