Skip to content

Instantly share code, notes, and snippets.

@calebmeyer
Created September 16, 2020 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebmeyer/0492d7e5d4ca88519e21c34c4c53e478 to your computer and use it in GitHub Desktop.
Save calebmeyer/0492d7e5d4ca88519e21c34c4c53e478 to your computer and use it in GitHub Desktop.
Compilation errors running Fire2012 example
> Executing task: platformio run <
Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html
PLATFORM: Atmel AVR (2.2.0) > Arduino Nano ATmega328
HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash
DEBUG: Current (simavr) On-board (simavr)
PACKAGES:
- framework-arduino-avr 5.0.0
- toolchain-atmelavr 1.50400.190710 (5.4.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 7 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Adafruit NeoPixel> 1.6.0
|-- <FastLED> 3.3.3
| |-- <SPI> 1.0
| |-- <SoftwareSerial> 1.0
Building in release mode
Compiling .pio/build/nanoatmega328/lib154/FastLED/FastLED.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/bitswap.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/colorpalettes.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/colorutils.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/hsv2rgb.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/lib8tion.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/noise.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/power_mgt.cpp.o
Compiling .pio/build/nanoatmega328/lib154/FastLED/wiring.cpp.o
Compiling .pio/build/nanoatmega328/src/main.cpp.o
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.cpp:2:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
Archiving .pio/build/nanoatmega328/lib441/libAdafruit NeoPixel.a
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
Archiving .pio/build/nanoatmega328/lib6e9/libSPI.a
Indexing .pio/build/nanoatmega328/lib6e9/libSPI.a
Indexing .pio/build/nanoatmega328/lib441/libAdafruit NeoPixel.a
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/bitswap.cpp:2:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/colorpalettes.cpp:4:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/colorutils.cpp:7:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/hsv2rgb.cpp:4:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/FastLED.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/bitswap.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/lib8tion.cpp:3:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/colorpalettes.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from src/main.cpp:1:0:
.pio/libdeps/nanoatmega328/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.003
# pragma message "FastLED version 3.003.003"
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/noise.cpp:2:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/colorutils.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/power_mgt.cpp:2:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from .pio/libdeps/nanoatmega328/FastLED/wiring.cpp:2:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/hsv2rgb.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
In file included from .pio/libdeps/nanoatmega328/FastLED/platforms/avr/fastled_avr.h:6:0,
from .pio/libdeps/nanoatmega328/FastLED/platforms.h:39,
from .pio/libdeps/nanoatmega328/FastLED/FastLED.h:52,
from src/main.cpp:1:
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showRGBInternal(PixelController<RGB_ORDER>&)':
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:409:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:410:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:411:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/lib8tion.cpp.o] Error 1
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:425:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:426:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:427:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:444:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 4: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:445:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 3: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:326:24: error: expected primary-expression before '__attribute__'
#define FL_FALLTHROUGH __attribute__ ((fallthrough));
^
.pio/libdeps/nanoatmega328/FastLED/platforms/avr/clockless_trinket.h:446:55: note: in expansion of macro 'FL_FALLTHROUGH'
case 2: _D2(0) LO1 _D3(0) HI1 _D1(1) QLO2(b0,0) FL_FALLTHROUGH
^
*** [.pio/build/nanoatmega328/lib154/FastLED/noise.cpp.o] Error 1
*** [.pio/build/nanoatmega328/lib154/FastLED/power_mgt.cpp.o] Error 1
*** [.pio/build/nanoatmega328/lib154/FastLED/wiring.cpp.o] Error 1
src/main.cpp: In function 'void loop()':
src/main.cpp:82:23: error: 'Fire2012WithPalette' was not declared in this scope
Fire2012WithPalette(); // run simulation frame, using palette colors
^
*** [.pio/build/nanoatmega328/src/main.cpp.o] Error 1
=========================================================================================== [FAILED] Took 1.27 seconds ===========================================================================================
The terminal process "platformio 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
#include <FastLED.h>
#define LED_PIN 2
#define COLOR_ORDER GRB
#define CHIPSET WS2811
#define NUM_LEDS 12
#define BRIGHTNESS 200
#define FRAMES_PER_SECOND 60
bool gReverseDirection = false;
CRGB leds[NUM_LEDS];
// Fire2012 with programmable Color Palette
//
// This code is the same fire simulation as the original "Fire2012",
// but each heat cell's temperature is translated to color through a FastLED
// programmable color palette, instead of through the "HeatColor(...)" function.
//
// Four different static color palettes are provided here, plus one dynamic one.
//
// The three static ones are:
// 1. the FastLED built-in HeatColors_p -- this is the default, and it looks
// pretty much exactly like the original Fire2012.
//
// To use any of the other palettes below, just "uncomment" the corresponding code.
//
// 2. a gradient from black to red to yellow to white, which is
// visually similar to the HeatColors_p, and helps to illustrate
// what the 'heat colors' palette is actually doing,
// 3. a similar gradient, but in blue colors rather than red ones,
// i.e. from black to blue to aqua to white, which results in
// an "icy blue" fire effect,
// 4. a simplified three-step gradient, from black to red to white, just to show
// that these gradients need not have four components; two or
// three are possible, too, even if they don't look quite as nice for fire.
//
// The dynamic palette shows how you can change the basic 'hue' of the
// color palette every time through the loop, producing "rainbow fire".
CRGBPalette16 gPal;
void setup() {
delay(3000); // sanity delay
FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
FastLED.setBrightness( BRIGHTNESS );
// This first palette is the basic 'black body radiation' colors,
// which run from black to red to bright yellow to white.
gPal = HeatColors_p;
// These are other ways to set up the color palette for the 'fire'.
// First, a gradient from black to red to yellow to white -- similar to HeatColors_p
// gPal = CRGBPalette16( CRGB::Black, CRGB::Red, CRGB::Yellow, CRGB::White);
// Second, this palette is like the heat colors, but blue/aqua instead of red/yellow
// gPal = CRGBPalette16( CRGB::Black, CRGB::Blue, CRGB::Aqua, CRGB::White);
// Third, here's a simpler, three-step gradient, from black to red to white
// gPal = CRGBPalette16( CRGB::Black, CRGB::Red, CRGB::White);
}
void loop()
{
// Add entropy to random number generator; we use a lot of it.
random16_add_entropy( random());
// Fourth, the most sophisticated: this one sets up a new palette every
// time through the loop, based on a hue that changes every time.
// The palette is a gradient from black, to a dark color based on the hue,
// to a light color based on the hue, to white.
//
// static uint8_t hue = 0;
// hue++;
// CRGB darkcolor = CHSV(hue,255,192); // pure hue, three-quarters brightness
// CRGB lightcolor = CHSV(hue,128,255); // half 'whitened', full brightness
// gPal = CRGBPalette16( CRGB::Black, darkcolor, lightcolor, CRGB::White);
Fire2012WithPalette(); // run simulation frame, using palette colors
FastLED.show(); // display this frame
FastLED.delay(1000 / FRAMES_PER_SECOND);
}
// Fire2012 by Mark Kriegsman, July 2012
// as part of "Five Elements" shown here: http://youtu.be/knWiGsmgycY
////
// This basic one-dimensional 'fire' simulation works roughly as follows:
// There's a underlying array of 'heat' cells, that model the temperature
// at each point along the line. Every cycle through the simulation,
// four steps are performed:
// 1) All cells cool down a little bit, losing heat to the air
// 2) The heat from each cell drifts 'up' and diffuses a little
// 3) Sometimes randomly new 'sparks' of heat are added at the bottom
// 4) The heat from each cell is rendered as a color into the leds array
// The heat-to-color mapping uses a black-body radiation approximation.
//
// Temperature is in arbitrary units from 0 (cold black) to 255 (white hot).
//
// This simulation scales it self a bit depending on NUM_LEDS; it should look
// "OK" on anywhere from 20 to 100 LEDs without too much tweaking.
//
// I recommend running this simulation at anywhere from 30-100 frames per second,
// meaning an interframe delay of about 10-35 milliseconds.
//
// Looks best on a high-density LED setup (60+ pixels/meter).
//
//
// There are two main parameters you can play with to control the look and
// feel of your fire: COOLING (used in step 1 above), and SPARKING (used
// in step 3 above).
//
// COOLING: How much does the air cool as it rises?
// Less cooling = taller flames. More cooling = shorter flames.
// Default 55, suggested range 20-100
#define COOLING 55
// SPARKING: What chance (out of 255) is there that a new spark will be lit?
// Higher chance = more roaring fire. Lower chance = more flickery fire.
// Default 120, suggested range 50-200.
#define SPARKING 120
void Fire2012WithPalette()
{
// Array of temperature readings at each simulation cell
static byte heat[NUM_LEDS];
// Step 1. Cool down every cell a little
for( int i = 0; i < NUM_LEDS; i++) {
heat[i] = qsub8( heat[i], random8(0, ((COOLING * 10) / NUM_LEDS) + 2));
}
// Step 2. Heat from each cell drifts 'up' and diffuses a little
for( int k= NUM_LEDS - 1; k >= 2; k--) {
heat[k] = (heat[k - 1] + heat[k - 2] + heat[k - 2] ) / 3;
}
// Step 3. Randomly ignite new 'sparks' of heat near the bottom
if( random8() < SPARKING ) {
int y = random8(7);
heat[y] = qadd8( heat[y], random8(160,255) );
}
// Step 4. Map from heat cells to LED colors
for( int j = 0; j < NUM_LEDS; j++) {
// Scale the heat value from 0-255 down to 0-240
// for best results with color palettes.
byte colorindex = scale8( heat[j], 240);
CRGB color = ColorFromPalette( gPal, colorindex);
int pixelnumber;
if( gReverseDirection ) {
pixelnumber = (NUM_LEDS-1) - j;
} else {
pixelnumber = j;
}
leds[pixelnumber] = color;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment