I'm trying to control a WS2812B led stripe but since FastLed lib is not supported, i cannot find any other lib or solution that is working so far. I have googled my problem and it seems i'm not the only one with this issue. could somebody give me some directions and example how to get started? your help is really appreciated.
Hi @lsamijn. I checked to see if maybe support had been added to the "Adafruit NeoPixel" library (which is the most popular alternative to FastLED). Unfortunately it looks like it has not:
However, a community member mentioned that they added support in their fork of the library:
https://github.com/adafruit/Adafruit_NeoPixel/issues/349#issuecomment-1640788543
I've created a fork which works with the Arduino GIGA. You can check it out here.
(note that there are some comments about people having problems later in that thread)
I'll provide instructions you can follow to install that modified version of the Adafruit NeoPixel library in case you want to give it a try:
- Click the following link to open the library's GitHub repository homepage in your web browser:
https://github.com/Haschtl/Adafruit_NeoPixel - Click the "Code ▾" button you see on that page.
- Select Download ZIP from the menu.
A download of the ZIP file of the library will start. - Wait for the download to finish.
- Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
The "Select the zip file containing the library you'd like to add" dialog will open. - Select the downloaded file from the dialog.
- Click the "Open" button.
The dialog will close. - Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
ⓘ Successfully installed library from ...
You will now find a collection of example sketches demonstrating the use of the library under Arduino IDE's File > Examples > Adafruit NeoPixel menu. The API of the modified library is exactly the same as the standard Adafruit NeoPixel library so any tutorials you find about using this popular library will be applicable while using the modified version as well.
Hi, thank you so much for your help. I finnaly got it working.
very best regards
You are welcome. I'm glad if I was able to be of assistance.
Regards,
Per