-
Notifications
You must be signed in to change notification settings - Fork 28
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
Update documentation and smart-leds-trait dependency #34
Conversation
Just tested on a rp2040 board. Works very well 👍 |
Hi @SpamixOfficial! |
Hello! Yes, that was the issue if U remember correctly. The thing is: I would like to use the latest smart_leds if possible, since being on the latest version is always good practice. That's slaps why I created this PR :-) |
Right and I also updated the examples as I could not get it to work at all when just using your example. I had to manually import smart_leds_traits 0.2.1 for it to work. That took a lot of time and forum searching to find out, so I also included some documentation updates in this PR! |
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.
Hi, thanks for the contribution.
However, SmartLedsWrite
is exported by smart-leds so the current code should work as is.
Wrt the bump of version to 0.3, please refer to #30's review (about supporting both versions).
Hello! Thanks for reaching back so quickly :-) I'll take a look at this today, and hopefully this should be done soon! // Alexander (Spamix) |
@ithinuel quick question, doesn't IntoIterator also support Iterator? An update to 0.3.0 of smart-leds-trait shouldn't break any client code from my understanding? |
The issue wouldn't be on the iterator trait bond side. |
Oh, my bad haha! Just an idea btw ^^ |
smart-leds-trait 0.2 and 0.3 support was merged in #36. |
Hello!
I've updated the documentation, since I had to search for hours myself to figure out that I had to add smart_leds_traits to make it work, as that wasn't covered in the documentation.
I've also updated the smart-leds-trait dependency to 3.0.0, so it's more up to date.