- Feb 10, 2018
- Reaction score
- Central Florida
And to beI've not used the pulseln function - I'll have to look into that one. Yes, absolutely agree on keeping serial communication out of ISRs, and if the main loop handles ...
Just to be pendantic ... a 16MHz clock gives a .0625 millisecond cycle, which is to say, a 62.5 nanosecond cycle, or a .0000625 second cycle.
The Rarely Stated Laws of the Universe includes one that covers this. It's also included as a corollary of Murphy's Law.
When correcting someone else's error, the chance of the corrector introducing their own mistake approaches 1.0.