To obtain a 2Hz frequency no timer is necessary in my opinion. This can be done with millis in loop().
Or you use the MoToTimebase class of my MobaTools lib, if you don't want to bother with millis directly.
1 Like