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

Support static bitmasks as LED patterns #23

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Support static bitmasks as LED patterns #23

merged 1 commit into from
Mar 7, 2024

Conversation

martinling
Copy link
Member

This PR allows static bitmasks to be applied to the LEDs, as well as dynamic blink patterns.

Conveniently, none of the existing blink patterns have enum values of less than the maximum bitmask.

Required for Cynthion factory test.

@martinling martinling force-pushed the led-control branch 2 times, most recently from 300f083 to e1a3207 Compare September 7, 2023 22:33
@mossmann
Copy link
Member

Please add documentation (at least code comments) explaining meaning of the pattern argument.

Copy link
Member

@mossmann mossmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@mossmann mossmann merged commit 12e6b47 into master Mar 7, 2024
6 checks passed
@mossmann mossmann deleted the led-control branch March 7, 2024 16:24
@antoinevg antoinevg mentioned this pull request Apr 16, 2024
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.

None yet

2 participants