connornishijima / Pixie_Chroma

Arduino library and documentation for Pixie Chroma displays!
https://lixielabs.com/chroma/
MIT License
53 stars 8 forks source link

Cannot convert CRGB to uint8_t #73

Open tomasro opened 8 months ago

tomasro commented 8 months ago

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.

tomasro commented 8 months ago

Also happens with IDE 1.8, and the only thing I had in my test code was #include "Pixie_chroma.h"

tomasro commented 8 months ago

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()

AlainVagner commented 3 months ago

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:

strain10280 commented 1 month ago

esp32 SDK versão 2.0.3

strain10280 commented 1 month ago

ESP32 SDK 2.0.9 works fine