Pixie_Chroma
Pixie_Chroma copied to clipboard
Cannot convert CRGB to uint8_t
Describe the bug Error while compiling code: ...\Arduino\libraries\Pixie_Chroma\src\pixie_chroma_internal.cpp: In member function 'void PixieChroma::color_blur_x(fract8)': ...\Arduino\libraries\Pixie_Chroma\src\pixie_chroma_internal.cpp:1874:25: error: cannot convert 'CRGB' to 'uint8_t' {aka 'unsigned char'} in assignment carryover = part; -------------^~~~
running arduino ide 2.2.1 with a fresh install of the library and all dependencies.
Also happens with IDE 1.8, and the only thing I had in my test code was #include "Pixie_chroma.h"
Turns out this error is caused because of FastLED 3.6. Reverting to 3.5 clears the error, but now there is a CPU panic when running pix.begin()
I had a similar issue, here is what I did to solve it. I am using an esp32. I rolled back to the following versions:
- Arduino SDK 1.8.19
- esp32 SDK version 3.0.2 in the board manager (this version appears in a screenshot on the "getting started" page).
- FastLED v3.5
esp32 SDK versão 2.0.3
ESP32 SDK 2.0.9 works fine