Quote:
|
Originally Posted by Kevin Casper
If it is time based then one of the loops of the program happens every 26ms(I think). Just count the program loops and you have time.
|
Don't Do this!! It was the only option last year, but we have much better options this year. Create a timer interrupt that triggers every X seconds(see above whitepaper link), that inctements a variable. Jut read this variable an you have a timer. If you need orther help, just let the peeps here and we can help.