I'm going to make some experiments in IR transmission with PIC16F628A and 4 buttons. I'd like to keep the PIC (transmitter) in Sleep Mode, until a button is pressed. An On-Change Interrupt will wake the device and start the transmission
A couple of questions:
1) after waking, where will the program start from?
2) after the interrupt, do I have to poll RB7:RB4 in the main loop of the program or let the ISR do that?
Thanks in advance.
A couple of questions:
1) after waking, where will the program start from?
2) after the interrupt, do I have to poll RB7:RB4 in the main loop of the program or let the ISR do that?
Thanks in advance.