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

fixed multi led patterns in pattern select #139

Merged
merged 52 commits into from
Dec 8, 2023

Conversation

Unreal-Dan
Copy link
Collaborator

No description provided.

HSVColor showColor;
showColor.hue = m_cur.hue;
showColor.sat = 255;
showColor.val = 255;
// set the target led with the current HSV color
for (LedPos pos = LED_FIRST; pos < LED_COUNT; ++pos) {
Leds::setIndex(pos, hsv_to_rgb_generic(showColor));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hsv_to_rgb_generic(HSVColor(m_cur.hue, 255, 255))

@Unreal-Dan Unreal-Dan merged commit 416251e into orbit Dec 8, 2023
3 checks passed
@Unreal-Dan Unreal-Dan deleted the daniel/orbit/multi_led_pattern_select_fix branch December 8, 2023 06:47
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