Posted on May 20, 2013 at 23:57I'm not sure why you are surprised by this behaviour. After the initialization, all the timer flags are likely cleared. Therefore it would never enter the inner while{} loop. Once you complete the outer/main while loop...