Tormsy
Joined: 17 Nov 2008 Posts: 1
|
Timer 0 with external clock |
Posted: Mon Nov 17, 2008 4:15 pm |
|
|
Hello everyone, I'm new to PIC programming, and I'm trying to build a robotic arm currently. The problem I'm running into is that I need to make my robotic arm to repeat movements it is trained to do, and for that I need to have a real time clock. I'm trying to use set timer and get timer functions on Timer0 at a 10Hz frequency, so I need a external clock. So my question is, where do I need to connect the clock? And how do I setup the timer in code? The PIC I'm using is PIC16F877A.
Thanks |
|