This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
Serial.begin(9600); //Configuracion de la velocidad serial | |
} | |
void loop() { | |
Serial.print("Lectura: "); | |
Serial.println(analogRead(A0)); //Imprime el valor de la lectura del canal A0 | |
delay(2000); //retardo de 2 segundos entre lectura | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment