Search found 3 matches

by lucian_v
Wed Jun 05, 2019 6:37 am
Forum: ESP32 IDF
Topic: Esp32 changing pwm frequency
Replies: 1
Views: 387

Esp32 changing pwm frequency

Hi, I am using this code to vary duty cycle of pwm and is working fine // the number of the LED pin const int ledPin = 16; // 16 corresponds to GPIO16 // setting PWM properties const int freq = 5000; const int ledChannel = 0; const int resolution = 8; void setup(){ // configure LED PWM functionaliti...
by lucian_v
Mon Feb 18, 2019 8:34 am
Forum: ESP32 Arduino
Topic: Cannot read digital pin
Replies: 2
Views: 863

Re: Cannot read digital pin

Hi,
Seems was my mistake somehow(probably wiring) because when I started over on a clean board it worked. Even so, I noticed that esp32 cannot start if pin 12 is High, but I fixed the issue

Thanks a lot for help
by lucian_v
Mon Feb 11, 2019 7:34 pm
Forum: ESP32 Arduino
Topic: Cannot read digital pin
Replies: 2
Views: 863

Cannot read digital pin

Hi all, I am using a LOLIN32 board, v1.0.0 together with an arduino nano. ESP32 receive some data on serial from nano (using pins - 16,17), and also run in AP mode with a webserver on it. My issue is that I am not able to read a digital pin which I set as "INPUT", where actually I get LOW or HIGH fr...

Go to advanced search