Thank you for your response. That is what I needed! Thanks again :)
--
View this message in context:
http://msp430-gcc-users.1086195.n5.nabble.com/Introduce-Random-Delay-in-Timer-tp6703p6705.html
Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
Do you need a truly random delay or just a jitter on the average
value? Truly random is actually tricky, and most applications are
quite happy with a pseudorandom value. You can implement a
deterministic but randomly wandering value simply by code like this:
static int seed = 1234;
...
Hi Everyone,
I am a newbie to msp430 world. I am currently working on a simple
ez430-rf2500 project. This is my current timer code.
void initializeTimer(){
BCSCTL3 |= LFXT1S_2;
TACCTL0 = CCIE;
TACCR0= 3933 ;//goes for 3seconds
TACTL = MC_1 | TASSEL_1 | ID_3;