Hi All,
Can someone tell me how to set up the PIC to count a signal or pulse in the background while a program is running? I am attempting to do the following:
run a counter which counts down from some number - say 50, and at the same time,count an encoder pulse which will subtract from the count the software counter is counting, it is a time vs mechanical count. I have the counter set up to work properly but have no idea how to interface the hardware (encoder ?) into the counter loop, in fact I do not know how to interface the (Timers ? ) so as to allow PIC to work independantly of the Main Loop. RTFM has not been too useful so far. To complicate matters I have fallen in between ISPs so I have limited access to internet, at Mom's House, so untill I find another ISP, I have to drive over hereSince good ol' % $ $ (name omitted) offered me Hi speed DSL for 17.95 which they couldn't deliver and lo speed for 35.99 and wouldn't discount.GRRRRR . . . . anyway anyone got Ideas how to do this?
Thank You in advance,
Joe
Bookmarks