SetTickInterval

Set the rate of the calls to @Tick.

Description

SetTickInterval( interval_ms )

This will change the rate of which the system triggers the @Tick event.

Parameters

interval_ms The interval between events. 50-10000ms.

Return value

none

Example usage

   main() {
      SetTickInterval(100);  // Set tick rate to 100ms
   }
 
   @Tick(uptime) {
      // this code will be called ever 100ms
   }