Skip to content
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

No continuous ON #1

Open
zouje opened this issue Sep 3, 2021 · 1 comment
Open

No continuous ON #1

zouje opened this issue Sep 3, 2021 · 1 comment

Comments

@zouje
Copy link

zouje commented Sep 3, 2021

It would be good to have the option to turn the blinker continuously ON. The intuitive way could be to set the Low Delay to 0.
When setting the Low Delay to 0 with the current version, the output still blinks for one iteration every period.

@majenkotech
Copy link
Contributor

majenkotech commented Sep 3, 2021

I've added an optional "idle" state to the stop() function. You can now specify blinker.stop(HIGH) for it to stop blinking and idle with the output set HIGH instead of (the default) LOW. Use blinker.start() to start blinking again with the same timing as you had before you stopped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants