Hi,
I would like to use ESP32 to control DC motor via motor module which require 2 PMW inputs (direction and speed).
All work fine in Arduino uno however the analogWrite funciton is not available.
Any suggestion?
Thanks
James
Can use analogWrite in ESP32? if not what is option?
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: Can use analogWrite in ESP32? if not what is option?
Moved to the Arduino forum.
Re: Can use analogWrite in ESP32? if not what is option?
I used ledc example and its library for generating PWM on my application.
Who is online
Users browsing this forum: No registered users and 95 guests