Digital Input

3.3V and Gnd bus rails, a toggle switch on D4, and a momentary switch on D6.

Circuit Python Library

https://docs.circuitpython.org/en/latest/shared-bindings/digitalio/index.html

Pull-Up Resistors

https://en.wikipedia.org/wiki/Pull-up_resistor

Code

Last updated

Was this helpful?