Thanks Jake.L and others for feedback.
AngelDaniel: Exactly, when you read the timer it could be at the start of a millisec or the end of one, and your code might think a millisec has passed by the next loop when really 0.01 of a millisec has passed.
"bare in mind" Freudian ;-)
AngelDaniel: Exactly, when you read the timer it could be at the start of a millisec or the end of one, and your code might think a millisec has passed by the next loop when really 0.01 of a millisec has passed.
"bare in mind" Freudian ;-)