16
µTasker general / Re: uTasker API
« on: August 26, 2011, 04:03:16 PM »
Hi Mark,
I'm executing following code as a uTasker task, to fetch the value of h/w timer, as per your specified Macros.
Task Config:
Task Code:
The output I'm getting is a same number again and again, I'm not sure where I'm going wrong, Is there any other way to fetch the Hardware Timer Value.
Thanks a million.
Regards,
Ab
I'm executing following code as a uTasker task, to fetch the value of h/w timer, as per your specified Macros.
Task Config:
Code: [Select]
{ "1", fnIntroTask, NO_QUE, 10, 1, UTASKER_STOP},
Task Code:
Code: [Select]
long i = 0;
i = EXECUTION_DURATION();
fnDebugDec(i,0,0);
The output I'm getting is a same number again and again, I'm not sure where I'm going wrong, Is there any other way to fetch the Hardware Timer Value.
Thanks a million.
Regards,
Ab