-
-
Save renatocantarino/6216909 to your computer and use it in GitHub Desktop.
arduino Blink
This file contains hidden or 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 led = 13; // Numero da porta onde o Led esta conectado | |
void setup() { | |
pinMode(led, OUTPUT); // porta , e modo de visualização. | |
} | |
void loop() { | |
digitalWrite(led, HIGH); // Liga o Led | |
delay(1000); // espera | |
digitalWrite(led, LOW); // Desliga | |
delay(1000); // espera | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment