Page 1 of 1

One task multiple delay timer

PostPosted: Wed Nov 04, 2015 8:42 am
by haytick
I just started on cocoos,

it is possible to have multiple delay in one task,

example: task1 (void)

Re: One task multiple delay timer

PostPosted: Wed Nov 04, 2015 8:48 am
by haytick
Sorry, i accidentally posted the thread when i not yet finished typing.

is it possible to do that as follow

example:
void task1(void)
{
do something....
delay(10ms)
do something....
delay(20ms)
do something....
delay(1s)
}

Re: One task multiple delay timer

PostPosted: Wed Dec 16, 2015 8:23 pm
by peter
Yes