ezeio2:scriptref:settickinterval

This is an old revision of the document!


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
   }
  • ezeio2/scriptref/settickinterval.1560646522.txt.gz
  • Last modified: 2019-06-16 00:55
  • by andreh