...
Refer to the blinking LED tutorial for how to use soft timers.
Use a
while (true) {}
loop to keep the program running.Don’t forget to start another soft timer within your soft timer function call.
In your
main
function, create a counters struct, and pass a pointer to that struct to thesoft_timer_start_...
call as the context.Check the supplementary material: Firmware 102 Supplementary Material for more hints on how to use logging and soft timers
Once you’re done with the project, open a pull request and request a code review from a lead. We won’t actually merge your pull request, but it’ll be a good chance to learn how code review works.
...