Ill give it a shot. It sounds logical. It may be overriding the button commands ability to make it an input.
Ill give it a shot. It sounds logical. It may be overriding the button commands ability to make it an input.
Yes, someone keeping me in check. Good.
You're right RRacer, it does say that.
And now I'm back to gee, I don't know. Unless ...
Since there isn't a LOADER_USED define, can I assume you are using ICSP? And, is the programmer always connected? Is the programmer conflicting with the RB7 input? Just another thought.
<br>
Darrel
P.S. What chip are you using? 16F737? The ADCON1 seems odd. That won't affect PORTB.7, I'm just trying to figure out what chip it is.
Yes, I am using ICSP. I only have a pin header connected, I disconnect the programmer after each burn.
Like I said, I tried the same button on a pin on the porta side and still the same issue. The button registers voltage when pressed, so its not a hardware fault.
check out the photos of the LED up and in action! Damn, Lamina makes some really bright stuff.
http://share.shutterfly.com/action/w...=2CcN3DhozYuOg
Last edited by docwisdom; - 16th February 2006 at 21:21.
I am back, trying to get this problem solved again. Anyone have any new ideas on why this single button wont work?
Hi,
I would like to see the schematic and know which PIC you are using.
Regards
Sougata
I am using the 16F767. The select button (the one not working) is wired just as all the other buttons are, and they all work. So I am pretty confident the hardware is correct. As I stated before, I have tried a different pin, so I dont think that is the problem. I have also taken a volt meter to the output of the button and I get a 4.97 volt reading, so the button itself works.
-brian
Hi docwisdom,
A quick glance at your code looked like everthing is okay by the algo. However the algo can be cut down pretty much. So my intensions were to duplicate your circuit since simulation works.
The more peculiar a problem is the more I get interested.
Hope somebody else solves the problem.
Regards
Sougata
Bookmarks