Hi
Here is my problem:
The chip is 16F88.
External Interrupt(RB0) has been implemented to turn on pin 9(RB3) and 11(RB5) then the polling of pin 13(RB7) when cleared would turn off those outputs(i.e RB3, RB5).
RB7 and RB0 are tied with Vdd with a resistor of 1k and a push button switch from pin to GND. The problem is within interrupt condition upon a low on RB7 the program turns off outputs on RB3 and RB5 as expected but a couple of seconds later those outputs goes high again.
PORTB internal pull up resistors disabled, and all unused pins are configured as outputs and connected to GND via a 3.3k resistor. The code is attached.
Thanks in advance.
Lipschutz
Here is my problem:
The chip is 16F88.
External Interrupt(RB0) has been implemented to turn on pin 9(RB3) and 11(RB5) then the polling of pin 13(RB7) when cleared would turn off those outputs(i.e RB3, RB5).
RB7 and RB0 are tied with Vdd with a resistor of 1k and a push button switch from pin to GND. The problem is within interrupt condition upon a low on RB7 the program turns off outputs on RB3 and RB5 as expected but a couple of seconds later those outputs goes high again.
PORTB internal pull up resistors disabled, and all unused pins are configured as outputs and connected to GND via a 3.3k resistor. The code is attached.
Thanks in advance.
Lipschutz