In most of my Arduino projects I find myself in a situation where two things apply:
- My
void loop()
function needs to run very quickly. - I need to output data to the serial window.
Unfortunately outputting to the serial window can add significant performance problems, so to keep the speed up I choose to only output every n milliseconds.
This requires a timer…
Continue reading “Arduino Code – Timed Events”