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

'RGBColor' has not been declared #29

Closed
0x77dev opened this issue Feb 13, 2020 · 3 comments
Closed

'RGBColor' has not been declared #29

0x77dev opened this issue Feb 13, 2020 · 3 comments

Comments

@0x77dev
Copy link

0x77dev commented Feb 13, 2020

void setupScrollArea(uint16_t TFA, uint16_t BFA, RGBColor colorstart, RGBColor colorend, bool clear = false) {

line 73 in ScrollPanel.h | ScrollPanel.h:73

M5Stack Core, Arduino IDE 1.8.11, Latest Libraries

@tobozo
Copy link
Owner

tobozo commented Feb 13, 2020

Thanks for reporting this.

Actually the BLECollector does not use the M5Stack library.
It uses the ESP32-Chimera-Core, which you can get it from the Arduino Library manager.

Once ESP32-Chimera-Core is installed, you should choose how you will use it.

  • Choice 1: remove the existing M5Stack core library and ESP32-Chimera-Core will act as a substitute for any #include <M5Stack.h>

  • Choice 2: keep the existing M5Stack core library but replace all instances of #include <M5Stack.h> by #include <ESP32-Chimera-Core.h> in the BLECollector code

@0x77dev
Copy link
Author

0x77dev commented Feb 13, 2020

nothing has worked for me.

@tobozo
Copy link
Owner

tobozo commented Feb 15, 2020

let's discuss this on the other thread #30, closing this issue for more clarity

@tobozo tobozo closed this as completed Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants