Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot convert CRGB to uint8_t #73

Open
tomasro opened this issue Nov 13, 2023 · 5 comments
Open

Cannot convert CRGB to uint8_t #73

tomasro opened this issue Nov 13, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@tomasro
Copy link

tomasro commented Nov 13, 2023

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 tomasro added the bug Something isn't working label Nov 13, 2023
@tomasro
Copy link
Author

tomasro commented Nov 15, 2023

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

@tomasro
Copy link
Author

tomasro commented Nov 15, 2023

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
Copy link

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

@strain10280
Copy link

esp32 SDK versão 2.0.3

@strain10280
Copy link

ESP32 SDK 2.0.9 works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants