There’s some fun to be had. It would be possible to rotate a byte with any value in it
and look at the value of a bit in that byte to get some more free frequency divisions.
Or if you had a 100Hz timer and wanted a 1Hz pulse, you could do similar to the timer code,
load a constant value to a byte, increment it, and watch for one of the more significant bits to be set.
Bookmarks