EDWARD,
I guess the problem is hardware related.
We would need to have a look at the schematic to further analysis.
Questions:
1. Where does the Solenoid get it's power from?
2. Do you have a Resistor between PortC.2 and the Base of the NPN?
3. Do xou have a reverse Diode across the Solenoid?
4. As your Buttons read "1" when pressed, do yo have PullDown Resistors on the corresponding PIC Pins?
Is this the same strange Board you had the LCD questions on?
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Bookmarks