I was under the impression that issues would evolve if the variables were not volatile unsigned int's, but I will definitely give your code a try.
I was under the impression that issues would evolve if the variables were not volatile unsigned int's, but I will definitely give your code a try.