Search found 2 matches

by lduprat
Tue Sep 11, 2018 7:23 am
Forum: General Discussion
Topic: ESP32 AnalogRead()
Replies: 3
Views: 19044

Re: ESP32 AnalogRead()

The pin 36 is directly connected to the pin 25
by lduprat
Mon Sep 10, 2018 8:01 am
Forum: General Discussion
Topic: ESP32 AnalogRead()
Replies: 3
Views: 19044

ESP32 AnalogRead()

I am trying to write on a the pin 25, and I need to control the voltage with the pin 36. To do so, I am using the following code : int consignePin = 25; int controlePin = 36; int ledPin = 5; int freq = 5000; int ledChannel = 0; int resolution = 8; void setup() { // put your setup code here, to run o...