(c) 2022-2024 HomeAccessoryKid
- LCM API used with LCM4ESP32
cd your-repo
git submodule add https://github.com/HomeACcessoryKid/lcm-api components/lcm-api
Have a look at LCM Demo how to use these two calls
uint8_t lcm_read_count(); //read the restart count value from RTC
void lcm_temp_boot(); //restart with RTC value of temp_boot active
Note that this no longer uses RTC, but a flash bitfield to transfer count and temp_boot flag