Hi Melanie
Thank you for your reply!
What is a better way to design it, I can still make changes to my design?Originally Posted by Melanie
Hi Melanie
Thank you for your reply!
What is a better way to design it, I can still make changes to my design?Originally Posted by Melanie
Probably i don't understand the whole thing as it's suppose but here's what i suggest.
remove the diode and blah blah. Use only your keyboard.
You just want to monitor the ON switch right???
This switch is attach between RB.3 and RB.4 right???
NOW what about...
This should workCode:' define and blah blah ' ' HIGH MAXPIN LOW PORTB.3 OPTION_REG.7=0 'enable internal Pull-UP While PORTB.4 : WEND ' wait untill ON button is pressed LOW MAXPIN
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
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