FastLED won't compile for Nano 33 BLE

The Arduino reference page for the FastLED library says:

Blockquote This library is compatible with all architectures so you should be able to use it on all the Arduino boards.

So I bought an Arduino Nano 33 BLE, installed the package for it, but

#include <FastLED.h>

generates

#error "This platform isn't recognized by FastLED... yet.  See comments in FastLED/led_sysdefs.h for options."

Did I do this right?

Is there another board with a small form factor that does work?

see issue with Arduino Nano 33 ble sense · Issue #917 · FastLED/FastLED · GitHub and 19 others Search · nRF52840 · GitHub

spoiler alert:

A bit late now, but you can set the IDE to compile for any board in the Tools menu without having the board physically connected to the computer.

The quote about FastLED being compatible with any Arduino board is apparently from a time before some of the later boards were introduced, so a test compile and a bit of research before buying any of the more recent boards would be a good idea.

Try the Adafruit_NeoPixel library, do not have a board to test the functionality, but an example sketch compiles without error for the Nano 33 BLE.

1 Like

Good tip re compiles. Thx

Adafruit_Neopixel library works, but I’d loose things like .setMaxAmpsAndVoltage and EVERY_N_MILLISECONDS

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.