Re: Can use analogWrite in ESP32? if not what is option? Postbyseopyoon»Fri Feb 03, 2017 1:08 am I used ledc example and its library for generating PWM on my application. 3 posts • Page1of1 Return to “ESP32 Arduino”
I decided on a simple state engine for the code to run my indicator light. The first state was door down. In this state the Arduino was in a “door closed sleep” state waiting for an interrupt from the bottom door sensor. When the state of this sensor changed the Arduino would wake ...
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 JamesESP_Sprite Posts: 9839 Joined: Thu Nov 26, 2015 4:08 am Re: ...