-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
M5.Axp.isCharging() doesn't work - please port fix from M5Stack #62
Comments
hi @patfelst thanks for your feedback 👍 You'll find the excuse very lame but I've removed the swelling battery from my M5Core2 so I can't test that feature :-) However based on your suggestion I'll be pushing this fix in the next release. I'm also ordering a replacement battery, but the release will be published long before I can test it. I'll update this post when the new release is propagated. Thanks again for reporting this! |
Thanks, much appreciated. I guess that's going to be an ongoing challenge for this library going forward, i.e. keeping in sync with M5Stack bug fixes. Do you have a plan for that? I was so impressed with the ease of getting Chimera up and running in Platform IO. I literally just installed the library, and Platform IO figured out it needed LovyanGFX so it automatically installed and added it to the project. Chimera then auto-detected my Core2 (must be going off Platform IO board type). I just had to change a few font name defines and the I'm still trying to figure out how to use LovyanGFX touch functions. I can get the basic |
thanks for your warmful comments 👍 Since release 1.2.2, ESP32-Chimera-Core enables touch emulation of Although LovyanGFX has an auto-detection feature, this emulation mode will not be enabled without The default debounce time for buttons emulation is set to 100ms (lower values throws more false positives). LovyanGFX implements lgfx::touch_point_t tp;
// 'number' is how many touch events are currently queued
uint16_t number = M5.Lcd.getTouch(&tp, 1); // second argument is for multitouch, doesn't apply to M5Core2 but needs to be set
if( number > 0 ) {
// do something with tp.x and tp.y
} New release is published in platformio btw, might take more time for arduino registry |
I've had good success using getTouch over the last couple of days, I've basically coded my own "hotzone" type functions, but thanks for all the good information re BtA etc. The update is already available for update in platformio - I updated and battery charging flag is confirmed fixed! |
Hi there, can you please implement this fix? I tested it by editing the library source and the fix works.
m5stack/M5Core2#1
Thanks
The text was updated successfully, but these errors were encountered: