I'm doing a project that uses the FastLed library to drive some WS2811 pixels.
I'm also driving some other "pixels" (as well as the WS2811) that are DMX controlled using another library (Conceptinetics).
I'm waiting for a FastLed.show() then calling my "FastLED to DMX function" :
void doDMX(){
for (int i=0; i<NUM_LEDS; i++) {
dmx_master.setChannelValue(i3+1, (int) leds.r);*
dmx_master.setChannelValue(i3+2, (int) leds.g);
dmx_master.setChannelValue(i3+3, (int) leds*.b);
_ int test = (int) leds.r;
Serial.print(test);
}
}_
_My read of the FastLed documentation suggests leds.r should be a byte representing red with a value from 0-255.
When I try to compile I get
~~*
HardwareSerial0.cpp.o (symbol from plugin): In function Serial': (.text+0x0): multiple definition of
__vector_18'
libraries\Conceptinetics\Conceptinetics.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.
I have the Serial.print in there to aid debugging. Obviously things don't work as expected regardless Have tried a few variation without luck.
What have I missed here?
Thanks!_