Input Pullup Serial using Arduino

This example demonstrates the use of INPUT_PULLUP with pinMode(). It monitors the state of a switch by establishingserial communication between your Arduino and your computer over USB. Additionally, when the input is HIGH, the onboard LED attached to pin 13 will turn on; when LOW, the LED will turn off. Circuit image developed using Fritzing. For more circuit examples, see the Fritzing projec ...

Read more
Scroll to top