News

For people new to using the Arduino IDE with various hardware, it might be worth pointing out that while a pullup is needed, and the Atmega328 has internal pullups when configured with INPUT_PULLUP ...
This example demonstrates the use of pinMode (INPUT_PULLUP). It reads a digital input on pin 2 and prints the results to the serial monitor.