> > I want to make rb0 on my 16f84be an input for a > > pushbutton and the rest of portb outputs. so far I > > have not been able to create working code. >=20 > Enable port B passive pullups in OPTION_REG, then connect=20 > the pushbutton between the port B pin and ground. The pin will=20 > read 1 normally, and 0 when the pushbutton is pushed=20 > (assuming normally open, which most of them are). Use soldering-iron to connect wires of a pushbutton to PCB or connector. Don't forget to plug in the iron (when cold it can't solder). Good luck. Mike. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics