Hi, I am trying to enable a simple PWM channel on esp 32 but it's not working
and I get the following message from the serial output.
.[0;31mE (13798) MCPWM: C:/esp-idf/components/driver/mcpwm.c:202 (mcpwm_set_duty):MCPWM DRIVER NOT INITIALIZED.[0m
.[0;31mE (13898) MCPWM: C:/esp-idf/components/driver/mcpwm.c:202 (mcpwm_set_duty):MCPWM DRIVER NOT INITIALIZED.[0m
ESP32 PWM
-
- Posts: 173
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 52 times
- Been thanked: 25 times
-
- Matrix Staff
- Posts: 1895
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 491 times
- Been thanked: 664 times
Re: ESP32 PWM
Hello,
Pins B2 to B7 are all input only on the ESP32 devices.
Please can you try a different pin to see if that solves the problem for you.
Pins B2 to B7 are all input only on the ESP32 devices.
Please can you try a different pin to see if that solves the problem for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel