Core Function: startTaskAt()
From ChipKit Wiki
Syntax:
void startTaskAt(int id, unsigned long start, unsigned short state)
Parameters:
| id | Task identifier for the task to be run |
| start | System millisecond tick time at which to run the task |
| state | Enable state for the task |
Return Value:
None
Description
This function will schedule the specified task to begin execution at the time specified by start. The time is given as the value of the system millisecond tick counter (as returned by the millis() function) at which the task will be run. The values for the enable state parameter, state, are the same as specified for createTask(). Specifying TASK_DISABLE is allowed, but not useful as it simply leaves the task disabled, and thus will not execute at the specified time.