@alpine-lake have you tried 1.4.1beta?
Have you waited for the firmware to actually download from the server?
Sometimes the program can take ages to download firmware but when complete the text will turn white.
I don't check this forum that regularly, so you're kind of lucky I see this. It's best to open an issue on the M5ez github.
As for your question: ez.buttons.poll() should return the key pressed, or an empty string if nothing is pressed, so you are presumably calling it from inside a loop? If you have nothing else to do in that loop and just want the the code to wait for a keypress, use ez.buttons.wait() instead. Let me know if this was not the issue, and in that case maybe show the code.
@jroever said in M5Stack Capacitive TouchScreen:
I am very tempted to buy this product - especially if it had a touch screen interface!
But in case it doesn't - what is meant by "10x capacitive touch interface" which is clearly stated as one of the features on https://docs.m5stack.com/#/en/core/fire ?!?
The esp32's pins can act as capacitive touch sensors however not much is know about this function.
The M5Tough which features the capacitive touch screen may be out by the end of the month.
To whoever faces same problem - I found solution for win10.
Problem is, UIFlow offline installs wrong/incorrect drivers, but as they are signed by Microsoft, Windows treats them as correct ones. UIFlow works fine, but VS won't connect to M5Stack properly.
Boot into safe mode, plug in M5Stack and find COM (Silicon labs) device. Right click and remove it, what is important, press checkbox with "Remove associated with device drivers" which appears only in safe mode for me.
Now disconnect USB, download latest drivers from M5stack.com and install them normally. This solved issue for me
@jerry_fuyi I suggest you to add some random logic blocks and then see it in python code - will be much easier to understand mechanics.
Ofcourse, coding hardware is useless without event triggers most of time
Hi, you can find the datasheet here. It is in Chinese but Google translate does a pretty decent job so we can understand almost everything.
You can also have a look a register 36h where you can modify long/short press times. Be careful, this button is used to power-on/off the device
So, what is the state of concurrency programming in MicroPython? I see an RFC from 2014  and a thread from the same year , but I don't know if this is in MicroPython (like is generators there?)?
The RTOS of Arduino, is to the best of my knowledge, not much useful .
Now, anybody who knows about Zephyr and the M5?
 RFC: Cooperative concurrency model of choice for MicroPython
 uasyncio - asyncio-like cooperative multitasking framework for uPy
 Arduino concurrency (Blog note, same disclaimer as above)