From 86f066deaaf019e8f08c83785143ff10919df85a Mon Sep 17 00:00:00 2001 From: a57855a0-460f-4bdf-b2e0-bc2d4f83ab1 Date: Thu, 19 Jun 2025 17:03:46 +0000 Subject: [PATCH 1/3] chore: turn on the LED for 3s instead of 1s --- blink.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blink.ino b/blink.ino index 54d7e426..b83fcfec 100644 --- a/blink.ino +++ b/blink.ino @@ -18,7 +18,7 @@ void setup() { // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) - delay(1000); // wait for a second + delay(3000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(2000); // wait for a second } From 89305a03a689877836546fbc4d4b85ac988c94d0 Mon Sep 17 00:00:00 2001 From: a57855a0-460f-4bdf-b2e0-bc2d4f83ab1 Date: Thu, 19 Jun 2025 17:23:29 +0000 Subject: [PATCH 2/3] chore: turn on the LED for 4s instead of 3s --- blink.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blink.ino b/blink.ino index b83fcfec..f2edafb1 100644 --- a/blink.ino +++ b/blink.ino @@ -18,7 +18,7 @@ void setup() { // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) - delay(3000); // wait for a second + delay(4000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(2000); // wait for a second } From 6fa6b46ed23ea8188fe5a8e330187dbb617de31e Mon Sep 17 00:00:00 2001 From: a57855a0-460f-4bdf-b2e0-bc2d4f83ab1 Date: Thu, 19 Jun 2025 17:28:59 +0000 Subject: [PATCH 3/3] style: remove trailing whitespaces --- blink.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blink.ino b/blink.ino index f2edafb1..ec0fc817 100644 --- a/blink.ino +++ b/blink.ino @@ -1,18 +1,18 @@ /* Blink Turns on an LED on for one second, then off for one second, repeatedly. - + This example code is in the public domain. */ - + // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: -void setup() { +void setup() { // initialize the digital pin as an output. - pinMode(led, OUTPUT); + pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: