-
Notifications
You must be signed in to change notification settings - Fork 6
Add leds utils #19
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
base: main
Are you sure you want to change the base?
Add leds utils #19
Conversation
src/arduino/app_utils/leds.py
Outdated
| ] | ||
|
|
||
|
|
||
| def set_led1_color(r, g, b): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it is better to move these methods as part of led class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done here: 2a1d59f
src/arduino/app_utils/leds.py
Outdated
| Logger(__name__).error(f"LED color set error: {e}") | ||
|
|
||
|
|
||
| Leds = Leds() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry a leftover, fixed here: 2a1d59f
This pr aim to add utils to control RGB leds of the UNO Q board