Skip to content

Instantly share code, notes, and snippets.

@h-sakano
Last active November 18, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h-sakano/ffc8e5c1c978cfda28dbb82a6f302780 to your computer and use it in GitHub Desktop.
Save h-sakano/ffc8e5c1c978cfda28dbb82a6f302780 to your computer and use it in GitHub Desktop.
初めてのArduino(Lチカまで) ref: https://qiita.com/h-sakano/items/ae57617f06a107bee3f3
int led = 13;
void setup() {
// put your setup code here, to run once:
pinMode(led, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment