Hi Steve,
I'm not sure if I understand you correctly.
The MAXPIN is HIGH by Default, which keep the Power to the PIC Off.
If I press the ON Button, it pulls the MAXPIN to LOW and the circuit will switch on.
The First Line of your Code, "HIGH MAXPIN" Would then switch the Power to the PIC Off?
Bookmarks