-
Notifications
You must be signed in to change notification settings - Fork 53
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
auto led = JLed(ledPin).Blink(1, 1000).Forever(); doesn't does not blink regularly. #36
Comments
What do you exactly expect? |
It is funny, Blink(1, 1000) is still visable, look what happens...
To save power, I use 2ms in my application.
From: jandelgado
Sent: Friday, November 15, 2019 9:55 AM
To: jandelgado/jled
Cc: Albert van Dalen ; Author
Subject: Re: [jandelgado/jled] auto led = JLed(ledPin).Blink(1, 1000).Forever(); doesn't does not blink regularly. (#36)
Blink(1,1000) means to turn the LED on for 1ms and to turn it off for 1000ms = 1 second afterwards. I did not test it, but I doubt that this 1ms "flash" will be visible to the human eye.
What do you exactly expect?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
So I was curious to see if there might be a bug or some unexpected behaviour. I connected a LED to an Arduino nano and checked with an Oscilloscope if output is as expected. Luckily it is: Everythin works as expected, I do not see an issue. Can we close the issue? |
In my case the LED was not blinking regulary with 1ms (visually) , but I have not checked it with my oscilloscope, i will check that, you can close the isue
thank you very much
From: jandelgado
Sent: Saturday, November 16, 2019 4:12 PM
To: jandelgado/jled
Cc: Albert van Dalen ; Author
Subject: Re: [jandelgado/jled] auto led = JLed(ledPin).Blink(1, 1000).Forever(); doesn't does not blink regularly. (#36)
So I was curious to see if there might be a bug or some unexpected behaviour. I connected a LED to an Arduino nano and checked with an Oscilloscope if output is as expected. Luckily it is:
a.. Blink(1,1000)
b.. Blink(2,1000)
c.. Both effects have a period of 1000ms:
Everythin works as expected, I do not see an issue. Can we close the issue?
br Jan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
What can you program well! I am overwhelmed with this library...
just:
auto led = JLed(ledPin).Blink(1, 1000).Forever(); doesn't does not blink regularly.
auto led = JLed(ledPin).Blink(2, 1000).Forever(); is okey
The text was updated successfully, but these errors were encountered: