Timer Start/Continue

It will not initialize the timer value to 0. It start it or restart it after a pause.

Timer Pause

It stops from operating. It doesn’t reset it.

Timer Reset

Reset to 0. It doesn’t stop it.

Example Timer Application

  • We start (or continue) the timer.
  • We check if we are > at 5.5 seconds.
    • If yes, OutBitD1 = 1
  • We check if we are > at 7.5 seconds.
    • If yes, OutBitD1 = 0 and we reset the timer

As you can see, we can reset the timer in another way.

The idea is to let always the timer running. Just reset it when you need it !

 

Have a look how the Timer works: Start, Pause and Reset