tobozo / ESP32-BLECollector

ᛡᛒ BLE Scanner + Data persistence on SD Card for M5Stack, M5Core2, Odroid-Go, ESP32-Wrover-Kit and other models
https://youtu.be/G07loGS04Vg
MIT License
276 stars 31 forks source link

What WROVER_KIT_LCD lib #1

Closed Kabron287 closed 4 years ago

Kabron287 commented 5 years ago

What WROVER_KIT_LCD lib you used? error: 'class WROVER_KIT_LCD' has no member named 'setupScrollArea' error: no matching function for call to 'WROVER_KIT_LCD::getTextBounds(String&, int&, int&, int16_t, int16_t, uint16_t, uint16_t)'

also src\UI.h:177:85: error: invalid conversion from 'const char' to 'char' [-fpermissive]

tobozo commented 5 years ago

error: 'class WROVER_KIT_LCD' has no member named 'setupScrollArea'

You need to patch the WROVER library as specified in the Settings.h file, I'll update the Readme to make this more clear.

Also make sure you're using a fresh version of Adafruit_GFX (mine is 1.3.2) to make the invalid conversion error go away.

Kabron287 commented 5 years ago

Thanks a lot, I got it working

tobozo commented 5 years ago

I'll post an update soon, just spent some time replacing some String() by const char* to slow down the memory leaks.

Kabron287 commented 5 years ago

Really, ESP32 has unprecedented sensitivity. It finds twice more devices then my Samsung A5

tobozo commented 5 years ago

There's a catch

tobozo commented 5 years ago

BTW I haven't tried this yet on Odroid or M5, not sure it'll even work since there may be different scroll support on the respective TFT.

I don't see the point anyway since the viewing angle is a problem on both M5 and Odroid when used with the scroll settings of this app.

However, if you tried it I'm still interested to know how it went ^_^

Kabron287 commented 5 years ago

I'm going to try

orangedrink commented 5 years ago

Any more information coming on how to patch that library in? Is that still part of settings.h? Thanks!!

tobozo commented 5 years ago

hey @orangedrink thanks for your feedback

This is the state of the library for the esp32-wrover-kit LCD, the PR is still being discussed but it works:

https://github.com/espressif/WROVER_KIT_LCD/pull/4/files

orangedrink commented 5 years ago

Thanks @tobozo! That got me on to the next problem. Stay tuned for more pleas for help. Ha!

This looks like a really cool piece of software! thanks for all of your work on this. 🥇

tobozo commented 4 years ago

WROVER_KIT_LCD has been removed from the project, the display is now handled by the ESP32-Chimera-Core (see readme for links).

Closing this issue as not relevant any more. Feel free to reopen or add updates :)