Quote:
Originally Posted by rsisk
Could you explain what a pull-up resistor is and why you need it in this situation?
|
A pull-(up/down) resistor weakly pulls an input either high or low. This prevents the input from floating around randomly and gives it a "Unless you dictate otherwise, I am high (or low if it is a pull down)." If you've ever had a digital input "flutter" or be otherwise unreliable, you probably needed a pull-___ resistor.