int red = 27;
int pot = 32;
int valor;
int calibrado;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(red, OUTPUT);
pinMode(pot, INPUT);
}
void loop() {
valor = analogRead(pot);
//calibrado = map(valor,0)
Serial.print("Valor sin calibrar del led: ");
Serial.println(valor);
delay(1000); // this speeds up the simulation
}