Hi, I am currently using the Bean+ board and trying to control some NeoPixel

Hi,

I am currently using the Bean+ board and trying to control some NeoPixel with FastLED library but im having the belows compilation error. I know that the Bean had similar problem before and has been fixed. Is there anything I can do to jump pass this error?

Thanks in advance.

\Documents\Arduino\libraries\FastLED-master\FastLED.cpp: In member function ‘void CFastLED::delay(long unsigned int)’:

\Documents\StudentHome\Group45$\n8628645\Documents\Arduino\libraries\FastLED-master\FastLED.cpp:133:9: error: ‘yield’ was not declared in this scope

yield();

     ^

exit status 1
Error compiling for board LightBlue Bean+ (2.0.0).

Bean needs to add a definition for yield into their library to be compatible with the rest of the arduino world. In the meantime, you can work around this by adding the line:

void yield() { }

to your .ino file.

Thanks for the swift reply! I got rid of the compilation error, but for some reasons the NeoPixel is not turning on. This was using the Blink example.

Do you have any other boards (Arduino, Teensy, etc) that you can test the same setup (LEDs, power supply, wiring, etc)? Just trying to eliminate the Bean+ as the source of the issue.

Sorry I didnt have time to spend on this project and just manage to get some time back on it.

So I have tested the setup with a Uno and Bean and the FastLED works as expected. However, using the Bean+ (another variant of the Bean board), it compiled now but nothing is lighting up.

I know that the Bean+ pin mapping is different to Bean. Could that be the reason?