Checkpoint: Timer Values
Checkpoint: Timer Values
animation
actuators
pwm
Tip
Checkpoint: Timer Values
Checkpoint: Timer Values
You now know:
- On Arduino-ESP32 3.x,
ledcAttach(pin, frequency, resolution)selects a channel automatically beforeledcWrite(pin, duty)updates the output. - At 75% command, the chapter’s examples map to 191 on 8-bit, 767 on 10-bit, and 3071 on 12-bit PWM.
- Servo control is the exception to the “average voltage” mental model: a 50 Hz frame carries 1 ms, 1.5 ms, or 2 ms position pulses.