When the switch is closed, low voltage (0V) is detected. When the switch is open, a 100K pull-up resistor brings the processor input pin to 3.3V. Categories Tech Note Getting Started