Skip to content

Commit cbd9435

Browse files
committed
First try of CLI
1 parent 55128cf commit cbd9435

File tree

3 files changed

+206
-0
lines changed

3 files changed

+206
-0
lines changed

Arduino-CLI/Blink/Blink/Blink.ino

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// the setup function runs once when you press reset or power the board
2+
void setup() {
3+
// initialize digital pin LED_BUILTIN as an output.
4+
pinMode(LED_BUILTIN, OUTPUT);
5+
}
6+
7+
// the loop function runs over and over again forever
8+
void loop() {
9+
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
10+
delay(1000); // wait for a second
11+
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
12+
delay(1000); // wait for a second
13+
}

0 commit comments

Comments
 (0)