At the beginning I was thinking to use external interrupts (INTE bit)…but anyway the interrupts will occur only at the END (point 6) of the cycle, when the uC will be in the sleep mode and the box was already unlocked.
So, what about if I will use a reset circuit (pull-up resistor connected to the MCLR/Vpp pin + pushbutton switch connected to ground)… will not be the same for this application?…please take a look at the pictures




Bookmarks