Skip to content

Prevent LEDs from quickly blinking when on_time == 0 or off_time == 0 - #1

Open
markopetrovi wants to merge 1 commit into
berrak:masterfrom
markopetrovi:patch-1
Open

Prevent LEDs from quickly blinking when on_time == 0 or off_time == 0#1
markopetrovi wants to merge 1 commit into
berrak:masterfrom
markopetrovi:patch-1

Conversation

@markopetrovi

Copy link
Copy Markdown

In some programs a situation when, under certain conditions, LEDs should blink, while in other conditions they should be in the same state (on or off) all the time can appear. In the current code even in situation when on_time or off_time are 0, LEDs would briefly change states (first to the state with time 0 and then back on the next call to updateBlinkLed()).

In some programs a situation when, under certain conditions, LEDs should blink, while in other conditions they should be in the same state (on or off) all the time can appear. In the current code even in situation when on_time or off_time are 0, LEDs would briefly change states (first to the state with time 0 and then back on the next call to updateBlinkLed()).
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

Successfully merging this pull request may close these issues.

1 participant