Search found 1 match
- Wed Aug 23, 2023 2:49 pm
- Forum: ESP-IDF
- Topic: Control duty-cycle of a PWM signal using mcpwm
- Replies: 1
- Views: 808
Control duty-cycle of a PWM signal using mcpwm
I'm using ESP32 to control the speed of a brushed DC motor. It requires a PWM signal to control the speed of the motor. I'm using the latest ESP-IDF (v5.1). The ESP-IDF has example code uses "bdc_motor" component, which I do not want to use. I want to create a PWM signal on a single GPIO pin, which...