Pull-up resistor example

by resistorwp

Pull up resistor

This diagram shows how a pull-up resistor is used to make sure the micro-controller sees a logic high level when the switch is opened.