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

impl SmartLedsWriter #3

Open
BlinkyStitt opened this issue Jan 11, 2024 · 2 comments · May be fixed by #7
Open

impl SmartLedsWriter #3

BlinkyStitt opened this issue Jan 11, 2024 · 2 comments · May be fixed by #7

Comments

@BlinkyStitt
Copy link

I want to use ws2812-async and smart-leds-matrix, but the matrix requires the writer to be a SmartLedsWriter. That uses sync instead of async methods though.

Any suggestions?

@BlinkyStitt BlinkyStitt changed the title impl SmartLedsWrite impl SmartLedsWriter Jan 11, 2024
@kalkyl
Copy link
Owner

kalkyl commented Jan 11, 2024

You could implement this trait's write using embassy_futures::block_on around the async write fn

@BlinkyStitt
Copy link
Author

My first pass at that just made the program freeze entirely. Now that the other bits of my project work, I can try that again though. Though probably not soon. This project was finished enough to work for the parade I was in.

https://x.com/BlinkyStitt/status/1744792041027256641?s=20

@chmanie chmanie linked a pull request Nov 30, 2024 that will close this issue
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 a pull request may close this issue.

2 participants