Core Function: setTaskPeriod()

 

Syntax:

void setTaskPeriod(int id, unsigned long period)

Parameters:

id Task identifier of task to modify
period New scheduling interval in milliseconds for the task

Return Value:

None

Description:

This function is used to modify the scheduling interval for the specified task. The task will be run the specified number of milliseconds after the function is called, and each time thereafter, depending on the task enable state. If the task is disabled, the scheduling interval is modified, but it remains disabled.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS