Hi @steinoxyd ,
I had the same issue which I got help with on the m5stack github before seeing this. I may as well direct you straight to it than repeating it fully here;
The issue is the 'IMU.calibrateMPU9250(IMU.gyroBias, IMU.accelBias);' which if commented out, the code will run.
From the comment from @lukasmaximus I have not realised the probable reason for the issue.
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.
@gachapo Thanks for persevering with this as I got my M5 to day and was getting confused lol. Without this link I would never have got it up and running so thanks for the link as that has kept me from throwing it out of the window.
Hi @buhhe sorry for your disappointment we are actively trying to improve the documentation and apologize that they were lacking the information you required. If you require more info regarding using the ublox modules with M5Stack one of our users rick macdonald of rocketmanrc has worked extensively with them and probably could share some valuable advice, and he's always happy to share https://www.rocketmanrc.com/contact.html he made this open pps system with m5stack and ublox https://www.rocketmanrc.com/openpps.html
@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