PDA

View Full Version : 16F684 and RA2



GoldStar
- 20th May 2009, 23:45
Hello, I've been working with my new programmer and pic chips and all is well except for RA2 being an input. I've been reading the data sheet and the only thing I see different for this input is it is labeled "ST" as compared to "TTL" like the rest of the inputs what does this mean? When I push the button for PortA.0 and PortA.1 the respective lights turn on, but not when PortA.2 is pushed. I have a weak pull down resistor in between each switch, if I remove the resistor for RA2 it works fine.





Loop:
portc.0 = porta.0
portc.1 = porta.1
portc.2 = porta.2


Goto loop

mackrackit
- 21st May 2009, 07:29
http://www.picbasic.co.uk/forum/showthread.php?t=561