The 6KHz oscillator is to get under the 10KHz limit to avoid FCC testing of our product. I do not need a fast clock to handle the inputs involved and clock accuracy is not critical. I have the PIC running at 6KHz and it is running the other portions of my program okay. I have just not yet been able to think of a way to use the PIC timers to confirm that I am getting a transition on 1 input while I am also monitoring other inputs. I need to see that the input has changed within a 3 or 4 second window. It seems like it should be simple but I am not used to this type of timer. I am used to a timer that I could start and then reset with each transition so that the timer does not time out. If it does time out I would go to a fault handling routine. I need this timer running in the background while I am checking other inputs. I am sure it can be done I just haven't worked with PIC's before.
Bookmarks