Skip to content

This does not compile on Nano Every (ATMEGA4809) #6

@brucemblue

Description

@brucemblue

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions