Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By Mmiscool
#63165 So I have not had a chance to ad a second timer how ever as I was sifting threw the source code I noticed a little gem that cicciocb added a long time ago along with the UDP commands that never made it in to the docs. I added it to the docs tonight.

There are 2 types of timers available.

the normal timer that requires the device to be in a wait state to fire and the timercb command that follows the same format but will execute immediately interrupting the currently running line of code.

The normal timer requires the branch to end with a wait wile the timercb requires the branch to end with a return.

See the following link.
https://docs.google.com/document/d/1EiY ... zg1fyepkg2

Both timers can be used at the same time. Just note the differences.