byte pin_potenciometro=34;
unsigned int lectura_potenciometro;
void setup() {
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
lectura_potenciometro=analogRead(pin_potenciometro);
Serial.println(lectura_potenciometro);
delay(100);
//adc=12bits 2^12=4096
//adc 3.3V--> 4095
//adc 1.75-->2048
}