Trinket M0 doesn't work with FastLED libraries

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
billpugh
 
Posts: 2
Joined: Wed Nov 06, 2013 2:46 pm

Trinket M0 doesn't work with FastLED libraries

Post by billpugh »

In the Adafruit SAMD 1.7.8 - 1.7.10 board libraries, the Trinket M0 doesn't work with the FastLED libraries.

Sample code is to try running the Blink example from FastLED on a Trinket M0. I used pin 3 as my data pin.

This works on Adafruit SAMD board libraries 1.7.7 and earlier.
On version 1.7.8, you get a verification error when trying to upload a sketch.
On versions 1.7.9 and 1.7.10, the LED doesn't blink or light up. Nothing worked with any FastLED sketch.

More detailed description of this bug at: https://github.com/FastLED/FastLED/issues/1363

From that description, you can work around the bug in the Adafruit SAMD library by uncommenting Line 12 in FastLED/src/fastled_config.h
// #define FASTLED_FORCE_SOFTWARE_PINS

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Trinket M0 doesn't work with FastLED libraries

Post by mikeysklar »

Thank you @billpugh.

This has come to our attention through the forums and Engineering is working to resolve it. As you pointed out there are work arounds. Here is another.

viewtopic.php?p=945599

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”