You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastLED has been updated to support this board, however this code does not compile for it.
Arduino\libraries\MashedPixels-master\IceCrystalsMode.cpp:39:51: error: invalid types 'CRGB*[double]' for array subscript
CRGB led = &leds[round(ice[a].positioncount)];
Arduino\libraries\MashedPixels-master\AntsMode.cpp:39:52: error: invalid types 'CRGB*[double]' for array subscript
CRGB led = &leds[round(ants[a].positioncount)];
If I add a cast to an int for those lines, the code compiles but (not surprisingly) doesn't work (at all). If I change the board setting to Nano (MEGA328), it compiles fine with the original lines. I don't really understand how this is even a thing, but it's a thing.
The text was updated successfully, but these errors were encountered:
FastLED has been updated to support this board, however this code does not compile for it.
Arduino\libraries\MashedPixels-master\IceCrystalsMode.cpp:39:51: error: invalid types 'CRGB*[double]' for array subscript
CRGB led = &leds[round(ice[a].positioncount)];
Arduino\libraries\MashedPixels-master\AntsMode.cpp:39:52: error: invalid types 'CRGB*[double]' for array subscript
CRGB led = &leds[round(ants[a].positioncount)];
If I add a cast to an int for those lines, the code compiles but (not surprisingly) doesn't work (at all). If I change the board setting to Nano (MEGA328), it compiles fine with the original lines. I don't really understand how this is even a thing, but it's a thing.
The text was updated successfully, but these errors were encountered: