Hi to all
i have found a stange problem when using an interupt.
The circuit is for a small alarm system.
I use the interupt to check if the alarm is on or off with a key switch
or externel remote control.
Then i scan the port that the sensors are connected to.
As you will see in the "loop" section switches portc,2 on and off with a delay of 1 second. This is the problem the portc,2 just gives a blink now and then. If i remove the inertupt portc,2 works fine.
Please help
i have found a stange problem when using an interupt.
The circuit is for a small alarm system.
I use the interupt to check if the alarm is on or off with a key switch
or externel remote control.
Then i scan the port that the sensors are connected to.
As you will see in the "loop" section switches portc,2 on and off with a delay of 1 second. This is the problem the portc,2 just gives a blink now and then. If i remove the inertupt portc,2 works fine.
Please help