Page 1 of 1

Can use analogWrite in ESP32? if not what is option?

Posted: Sat Jan 28, 2017 10:06 pm
by spc6000
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

Re: Can use analogWrite in ESP32? if not what is option?

Posted: Sun Jan 29, 2017 2:38 am
by ESP_Sprite
Moved to the Arduino forum.

Re: Can use analogWrite in ESP32? if not what is option?

Posted: Fri Feb 03, 2017 1:08 am
by seopyoon
I used ledc example and its library for generating PWM on my application.