Last active
November 12, 2018 09:10
-
-
Save ymt117/2b3c5da8cf7bde8671921cffae173766 to your computer and use it in GitHub Desktop.
100kinSAT - Lチカのソースコード
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
#define LED 2 | |
void setup() { | |
// LEDに接続したピンを「出力(OUTPUT)」に設定 | |
pinMode(LED, OUTPUT); | |
} | |
void loop() { | |
// LEDを点灯 | |
digitalWrite(LED, HIGH); | |
delay(500); | |
// LEDを消灯 | |
digitalWrite(LED, LOW); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment