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

Buttons not working on M5StackCore2 #30

Open
hexsecs opened this issue Sep 28, 2021 · 2 comments
Open

Buttons not working on M5StackCore2 #30

hexsecs opened this issue Sep 28, 2021 · 2 comments

Comments

@hexsecs
Copy link

hexsecs commented Sep 28, 2021

The A,B,C buttons don't appear to be working on M5Stack Core2.

@tobozo
Copy link
Contributor

tobozo commented Sep 28, 2021

Thanks for reporting that, the reason Buttons are not working is that it wasn't intented to work on this device (M5Core2 support was only a proof of concept and M5Core Buttons use digitalRead() ).

But since a a quick and dirty implementation exists, I'm pushing the Physical Buttons Emulation for M5Core2 <=> M5Stack into ESP32-Chimera-Core.

Changes will soon be available as a library update in both platformio and arduino library manager.

If you're in a hurry you can still check out the 1.2.0 branch.

Please note this is a partial implementation, e.g. long pushes will probably be registered as short pushes, so don't expect 100% compatibility with the behaviour you get on a M5Fire.

@tobozo
Copy link
Contributor

tobozo commented Oct 1, 2021

[edit] Update available on this fork (will soon PR) and ESP32-Chimera-Core library should be updated from the library manager too (see version 1.2.2).

I've been adjusting the ESP32-Chimera-Core library for M5Core2, short and long presses are now responding properly on my local build.

I've also been testing support for the M5Core2's BM8563 RTC module, and ESP32-Chimera-Core will be implicitely syncing RTC time to system time in the next release.

Now M5Core2 implementation becomes more interesting than M5Fire implementation :-)

image

I've also made a few changes to the application UI, fixed some issues with sprites overlapping, but it needs some refactoring before being published, I'll update this post when the code is available.

image

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