Pixie_Chroma icon indicating copy to clipboard operation
Pixie_Chroma copied to clipboard

Cannot convert CRGB to uint8_t

Open tomasro opened this issue 1 year ago • 5 comments

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 avatar Nov 13 '23 19:11 tomasro

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

tomasro avatar Nov 15 '23 17:11 tomasro

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

tomasro avatar Nov 15 '23 20:11 tomasro

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

AlainVagner avatar Mar 23 '24 20:03 AlainVagner

esp32 SDK versão 2.0.3

strain10280 avatar Jun 09 '24 00:06 strain10280

ESP32 SDK 2.0.9 works fine

strain10280 avatar Jun 09 '24 21:06 strain10280