Quantcast
Channel: panStamp forum - All Forums
Viewing all articles
Browse latest Browse all 473

Timer based delay

$
0
0
Hello again Mr. Daniel and thanks again for the last replies. One last request though.
I've noticed that the delay(); function is (ab)using the WDT to generate the required delay, however, i need a Timer based delay independent of the standard delay();. Maybe something using Timer1A0 to generate my required 1ms delay for a transmission program. I've already explored the timer1A0 library and modem sketch but they all rely on the timerISR function whereas I need to call the function only on-demand, similar to what delay() does but using one of the CC430's timers.

Can you enlighten me with a sample sketch?

Viewing all articles
Browse latest Browse all 473

Trending Articles