From f930cf7606329add6e8befdc12e4eb5fcff768d9 Mon Sep 17 00:00:00 2001 From: cir2way Date: Tue, 14 May 2024 15:53:31 +0800 Subject: [PATCH 1/2] 100ms is better --- blink.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blink.ino b/blink.ino index 15b99114..5ce1b0a3 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(100); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW - delay(1000); // wait for a second + delay(100); // wait for a second } From e248f028f6ebb58dbed93c6d0b0f72c66b6d7bf7 Mon Sep 17 00:00:00 2001 From: cir2way Date: Tue, 14 May 2024 15:55:11 +0800 Subject: [PATCH 2/2] three seconds is better --- blink.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blink.ino b/blink.ino index 5ce1b0a3..a6cc5a5e 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(100); // wait for a second + delay(3000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW - delay(100); // wait for a second + delay(3000); // wait for a second }