ESP32 Projects
Start a build

ESP32 LED PWM Fade

Use the ESP32 LEDC peripheral to fade a resistor-limited LED.

Classic ESP32 development boardArduinoBeginner
Parts and source

Before you start

Espressif provides the linked Arduino example. Select the definition for your classic ESP32 carrier and check which pins it exposes.

Getting started

  1. Open the linked example in the Arduino ESP32 core and upload it to your development board.
  2. Select an output GPIO exposed by your carrier. Verify that brightness changes across the full fade cycle.

Upstream documentation

Read the original documentation ↗