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

Improved indicator light library #87

Merged
merged 1 commit into from
Dec 29, 2021
Merged

Conversation

hogthrob
Copy link
Contributor

[PR has no impact on other devices not using the IndicatorLight]

IndicatorLight now

  • supports blink mode with variable duty cyle (i.e. ratio between on/off)
  • supports setting the pulse and blink cycle duration
  • permits setting of maximum brightness
  • handles low and high active leds (defined in constructor)
  • supports variable PWM resolution (now uses 12 bits as default)

LED pattern in AudioKit nd Inmpa441Max98357 devices now make use of
the new capabilities to map all states to LED patterns and also provide
brightness setting capabilities.

IndicatorLight now
- supports blink mode with variable duty cyle (i.e. ratio between on/off)
- supports setting the pulse and blink cycle duration
- permits setting of maximum brightness
- handles low and high active leds (defined in constructor)
- supports variable PWM resolution (now uses 12 bits as default)

LED pattern in AudioKit nd Inmpa441Max98357 devices now make use of
the new capabilities to map all states to LED patterns and also provide
brightness setting capabilities.
@Romkabouter
Copy link
Owner

Thanks for all the work, I will create a new release after this merge as well :)

@Romkabouter Romkabouter merged commit 1737e46 into Romkabouter:master Dec 29, 2021
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.

2 participants