I use it to increment a counter (PWMCOUNTER) which is compared with a certain value (PWM), if PWMCOUNTER