-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Three seconds is better #1456
base: master
Are you sure you want to change the base?
Three seconds is better #1456
Conversation
blink.ino
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Schacon, I believe it would be better if the light was off for 4 seconds and on for just 3.
Change delay to 3 seconds and 4 seconds repectively
This PR will increase the LED delay. In this code I have modified some part so that light was off for 4 seconds and on for just 3.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change delay to 2 seconds and 2 seconds repectively
Merge pull request #1 from aniketdas-tiger-analytics/slow-blink
for(int i=0 ; i < 5 ; i++)
{
System.out.println("i is : " + i);
} |
for i in range(1,20):
if i%2==0:
print(i)
else:
print("ODD") |
How big are these slings and in particular, these arrows? 😂 🐼 |
@aniketdas-tiger-analytics is the one who made those above comments. |
Hello I am Aniket Das. I am commenting through Github API in a Pull Request which I have raised on my own, 👍 |
Studies have shown that 3 seconds is a far better LED delay than 1 second.
https://www.nngroup.com/articles/response-times-3-important-limits/
You should also see #1326