TechPartner

← Back to Blog
Beginner Arduino ESP32 course — IoT from Blink to SmartNode · Part 2 / 8

ESP32 programming (2/8): Digital GPIO, buttons & debounce

ESP32 GPIO: digital I/O, internal pull-up, LED toggle, software debounce.

· 1 min read

Beginner Arduino ESP32 course — IoT from Blink to SmartNode · Part 2/8
  1. 1Setup & Blink
  2. 2Digital GPIO
  3. 3PWM & servo
  4. 4ADC & sensors
  5. 5WiFi Station
  6. 6HTTP client
  7. 7Web server
  8. 8SmartNode capstone

Part 2/8 (~30 min) · Part 1 · Part 3

Configure INPUT_PULLUP, toggle an LED on GPIO 2 with a button on GPIO 18, and add 50 ms debounce. Avoid strapping pins 0, 2, 12, 15 for custom wiring.

Series navigation: ← Part 1 · Part 3 →

Frequently asked questions

What is INPUT_PULLUP?

Internal pull-up: released = HIGH, pressed to GND = LOW.

Does your startup need a tech partner?

Free chat about MVP, timeline, and the right profit-sharing approach.