-
-
Save HectorTorres/c3bfea3623ce28659595f4dcd4d0e0d0 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
int button =13; | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(button,INPUT); | |
} | |
void loop() | |
{ | |
int switchEstado = digitalRead(button); | |
Serial.print(switchEstado); | |
delay(400); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment