Skip to content

Instantly share code, notes, and snippets.

@tboydar
Created September 28, 2020 13:02
Show Gist options
  • Save tboydar/969449882039a5bdd6b2e647f8b7980c to your computer and use it in GitHub Desktop.
Save tboydar/969449882039a5bdd6b2e647f8b7980c to your computer and use it in GitHub Desktop.
arduino blink
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(100); // 1000ms = 1s , 100ms = 0.1s
digitalWrite(13, LOW);
delay(100); // 1000ms = 1s , 100ms = 0.1s
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment