Timer

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > Events - Quick Reference >

Timer

The Timer event is triggered when the mIoTa's internal timer hits the required timer interval set by the TimerPeriod variable.

 

If the TimerPeriod variable is set to zero the Timer will not trigger. This can be used to stop anymore Timer events occurring, effectively creating a one-shot timer.

 

Note: Make sure the Timer Event code doesn't take longer to execute than the timer period setting, as this will cause an Event backlog and eventually events will be missed!