17 years ago
trouble with the input on the PIC16F84A microcontroller. I want to make
some basic pushbutton/switch inputs on Port B. How do I wire this? Do I
run a wire from the positive power rail to the switch and then to the
input, or from the input to the switch to the negative power rail?
Also, will I need a resistor in there to keep the circuit from getting
Also, how does the input appear programming-wise? Does the input pin
simply return a 1 or a 0? I'd greatly appreciate any help on the matter.