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

Add Neopixel functionality #31

Merged
merged 10 commits into from
Mar 3, 2025
Merged

Add Neopixel functionality #31

merged 10 commits into from
Mar 3, 2025

Conversation

hmaarrfk
Copy link
Member

@hmaarrfk hmaarrfk commented Dec 11, 2024

This integrates the basic Neopixel LED functionality. The final binary become subject to the LGPL from Adafruit which is unfortunate since we can't dual license.

Anyway, we can move to FastLED in an other PR.

#33

@hmaarrfk
Copy link
Member Author

hmaarrfk commented Mar 3, 2025

from teensytoany import TeensyToAny
t = TeensyToAny(serial_number='15219700')
t._ask("neopixel_update_pin 19")
t._ask("neopixel_update_length 5")

t._ask("neopixel_set_pixel_color 0 50 0 0 0")
t._ask("neopixel_set_pixel_color 1 0 50 0 0")
t._ask("neopixel_set_pixel_color 2 0 0 50 0")
t._ask("neopixel_set_pixel_color 3 0 0 0 50")
t._ask("neopixel_set_pixel_color 4 50 50 50 50")
t._ask("neopixel_begin")
t._ask("neopixel_show")

t.close()

@hmaarrfk hmaarrfk changed the title WIP: Start to add Neopixel functionality Add Neopixel functionality Mar 3, 2025
@hmaarrfk hmaarrfk merged commit 0f8fe88 into main Mar 3, 2025
7 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.

1 participant