cleishm/idfxx_pwm

3.1.0

Latest
uploaded 6 hours ago
Type-safe LEDC PWM controller for ESP32

4 examples

  • buzzer
    Plays a C major scale on a passive buzzer by changing the PWM frequency for each note.
    2.54 KB
  • led_brightness
    Steps an LED through brightness levels using PWM, demonstrating duty control and automatic output stopping.
    2.37 KB
  • led_fade
    Fades an LED up and down in a breathing pattern using hardware PWM fades.
    2.53 KB
  • servo
    Sweeps a hobby servo from 0 to 180 degrees and back, then centers it.
    2.56 KB