Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.