Skip to content

Update m5_8encoder.py to allow for correct addressing of the 9th LED#1050

Merged
bwhitman merged 1 commit into
shorepine:mainfrom
AraKnine:patch-1
Jun 28, 2026
Merged

Update m5_8encoder.py to allow for correct addressing of the 9th LED#1050
bwhitman merged 1 commit into
shorepine:mainfrom
AraKnine:patch-1

Conversation

@AraKnine

Copy link
Copy Markdown
Contributor

set_led() was checking to see if the value of 8 was less than the number of ENCODERS(8) instead of the number of LEDS(9). This update will have it check against LEDS(9) to allow for the LED beside the SW switch to be addressed correctly.

set_led() was checking to see if the value of 8 was less than the number of ENCODERS(8) instead of the number of LEDS(9). This update will have it check against LEDS(9) to allow for the LED beside the SW switch to be addressed correctly.
@bwhitman

Copy link
Copy Markdown
Collaborator

Thanks!!!

@bwhitman bwhitman merged commit d4fb388 into shorepine:main Jun 28, 2026
1 of 3 checks passed
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