Brion Sohn
Well-known member
So I am having an issue with compiling with a parameter change on FastLED..
This is to a Teensy LC with Arduino 1.8.5 and Teensyduino 1.41
Currently FastLED 3.003.003 is installed via user library install and through the Library manager shows as installed.
So I get the Error of... Multiple libraries were found for "FastLED.h"
when I add:
but when I do not have:
then everything compiles as it should without error.
I am trying to enable interrupts as a test because I am having the typical serial / FastLED problems where when FastLED runs show() it permanently disables interrupts which stops my serial1 receive stream from coming in. I know that this might not be the solution but given the low frequency of the show() command I am using everything may work fine with the interrupts enabled. allowing for the serial stream to run fine and minimal probablility of FastLED show corruption. Im not doing full fledged LED animations which require continuous updating so this is where my thought process is.
I am also working on trying to work up a version using the WS2812Serial Library but I am having an issue with moving the Serial1 Stream to Serial2 two at the moment (but I haven't worked that hard on it).. But there are a couple of concerns with the Library as I can't use it on a normal Arduino which I may need in the future due to the lack of DMA and of course the additional RAM requirement per LED over FastLED.
I also haven't fully figured out how the FastLED with WS2812 plug-in works and what needs to be altered as well as memory differences and things.
Anyway I am going further than my original Multiple Library issue here..
Any Help would be appreciated. Thank you
This is to a Teensy LC with Arduino 1.8.5 and Teensyduino 1.41
Currently FastLED 3.003.003 is installed via user library install and through the Library manager shows as installed.
So I get the Error of... Multiple libraries were found for "FastLED.h"
when I add:
Code:
#define FASTLED_ALLOW_INTERRUPTS 1
#include <FastLED.h>
but when I do not have:
Code:
#define FASTLED_ALLOW_INTERRUPTS 1
then everything compiles as it should without error.
I am trying to enable interrupts as a test because I am having the typical serial / FastLED problems where when FastLED runs show() it permanently disables interrupts which stops my serial1 receive stream from coming in. I know that this might not be the solution but given the low frequency of the show() command I am using everything may work fine with the interrupts enabled. allowing for the serial stream to run fine and minimal probablility of FastLED show corruption. Im not doing full fledged LED animations which require continuous updating so this is where my thought process is.
I am also working on trying to work up a version using the WS2812Serial Library but I am having an issue with moving the Serial1 Stream to Serial2 two at the moment (but I haven't worked that hard on it).. But there are a couple of concerns with the Library as I can't use it on a normal Arduino which I may need in the future due to the lack of DMA and of course the additional RAM requirement per LED over FastLED.
I also haven't fully figured out how the FastLED with WS2812 plug-in works and what needs to be altered as well as memory differences and things.
Anyway I am going further than my original Multiple Library issue here..
Any Help would be appreciated. Thank you