You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Timer Library > start

16.2 start

timer.start(period)

Starts the timer with the given period in seconds. The period must be 0.01 (10 ms). If the timer is already running when this routine is called, the timer is reset to the new period.

Introduced in platform.apiLevel = '1.0'

Caution

timer.start() should not be called when processing an on.timer() event unless it is the final statement before the on.timer() event completes.