Open jerabaul29 opened 2 years ago
You don't need all the TIMER stuff from that example.
Thanks :) . Agree that looks better, but also a bit worried that there are many moving parts, a bit afraid that I can easily shoot myself in the foot if I set a non self consistent bunch of options at the same time.
For now I am setting the RTC to generate interrupts at 1s intervals, and counting with an IRC the number of seconds. As pointed by @gauteh , I could probably just do everything directly with the RTC, without using an additional IRC. That may require some more HAL calls / setup.