Nuacht

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.
Tested it for all GPIOs that can be a DI. Works for all of them but not for GPIO34 ... GPIO39. They work as input but get not pulled up. Same with INPUT_PULLDOWN.