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

LEDUtils: breath improvements #450

Merged
merged 1 commit into from Oct 29, 2018
Merged

Conversation

algernon
Copy link
Contributor

Based on work by Shriramana Sharma (@jamadagni) in keyboardio/Kaleidoscope-LEDControl#27, this adds an optional phase_offset argument to breath_computer. This allows one to have multiple breath effects active at the same time, at different phases.

To make these synchronized, use Kaleidoscope.millisAtCycleStart() instead of millis().

Based on work by Shriramana Sharma (@jamadagni) in
keyboardio/Kaleidoscope-LEDControl#27, this adds an optional `phase_offset`
argument to `breath_computer`. This allows one to have multiple breath effects
active at the same time, at different phases.

To make these synchronized, use `Kaleidoscope.millisAtCycleStart()` instead of
`millis()`.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
@algernon algernon added enhancement New feature or request leds Issues related to LEDs pending labels Oct 28, 2018
@algernon algernon requested a review from obra October 28, 2018 12:54
@obra obra merged commit 68bb37a into master Oct 29, 2018
@obra obra deleted the ledcontrol/breath-phase-offset branch October 29, 2018 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request leds Issues related to LEDs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants