Your right
Hi Chris,
You are right on with your thought process, all you have to do is put it together and try it out. The basic clock freq for the timer is 1uS for a 4MHz osc (fosc/4).
You will find plenty of code examples by searching the forum, use the better search under the FAQ thread. Also do a search for DTs (i think) inturrupt and PWM calculator, it will help you decide which values to use for everthing. There is also a good example of a clock that has code for tracking seconds minutes and hours somewhere on here.
Good luck.
Paul
+-------------------------------------------------------------------+
| PBP 2.47/2.50 | MCS+ 3.0.0.5 | U2 Prog | Vista x64 | NO SLEEP!!!!!!! |
+-------------------------------------------------------------------+
Bookmarks