cleishm/idfxx_pwm

3.0.0

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

4 examples

  • buzzer
    Plays a C major scale on a passive buzzer, setting each note's pitch by changing the PWM frequency.
    2.54 KB
  • led_brightness
    Steps an LED through a series of brightness levels using PWM.
    2.37 KB
  • led_fade
    Fades an LED up and down in a breathing pattern using hardware PWM fades.
    2.53 KB
  • servo
    This example sweeps a hobby servo from 0 to 180 degrees and back, then centers it using PWM.
    2.56 KB