← Back to BlogBeginner 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▼
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.
Frequently asked questions
What is INPUT_PULLUP?
Internal pull-up: released = HIGH, pressed to GND = LOW.
Continue reading
ESP32 programming (1/8): Board intro, Arduino IDE setup & Blink
Free ESP32 Arduino course — part 1: DevKit, esp32 board package, Blink sketch, Serial Monitor. Roadmap: learn-arduino-esp32-from-scratch
Read more →ESP32 programming (3/8): PWM — LED fade & SG90 servo
ESP32 LEDC PWM, smooth LED fade, ESP32Servo library for 0–180° control.
Read more →ESP32 programming (4/8): ADC — analog sensors & DHT22
12-bit ADC, voltage dividers, DHT library for temp/humidity.
Read more →Does your startup need a tech partner?
Free chat about MVP, timeline, and the right profit-sharing approach.