Created
December 21, 2017 22:01
-
-
Save esmarr58/eeb617736d4fdebf48f7a5c9153f78d0 to your computer and use it in GitHub Desktop.
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