@felmue Thanks Felix, it works:)
I didn't look to the Project Zone. I'll do it now.
Peter
@Peter
Posts made by Peter
-
RE: UiFlow 2.0 discuss(how-to, bug, feature request or sometings)
-
RE: UiFlow 2.0 discuss(how-to, bug, feature request or sometings)
I would like to use the touchscreen on the M5Dial. But the block M5.Touch.getCount() does not work in a while loop! It only works in the main loop. So the touchscreen is hardly usable in Micropython. I have not been able to realize the waiting for a touch.
-
RE: Cardputer question - how to build text strings from user key strokes?
Hi,
my Micropython Modul ist ready to use: http://micropython.aundz.net/index.php?title=M5CardComputer_Keyboard#Ein_Modul_zur_Keyboardabfrage
It is to use with Micropython (Thonny) not with UIFlow!
M5Stack uses 2 spaces for indentation, I used 4 spaces as it is standard in Micropython. -
RE: Cardputer question - how to build text strings from user key strokes?
I will inform you when it is available on the internet. What should I write as a copyright notice?
-
RE: Cardputer question - how to build text strings from user key strokes?
@dissy
Hello dissy, thank you very much for your keyboard script. I have just spent a few hours trying to bring the Cardputer keyboard to life. Your program got me on the right track.
I am currently writing a manual on how to use the cardputer with micropython in German. I would like to use your script as a Micropython module and make it available for download on my website, with your authorship of course. Do you agree with this?
My website: https://micropython.aundz.net/index.php?title=M5CardComputer is still a work in progress.
Thank you very much. -
libs.urequests.request() Error in M5ATOM Lite
Unfortunately, the requests module does not work in the M5ATOM Lite firmware:
req = libs.urequests.request(method='GET', url='https://api.github.com/repos/kapest007/My-Micropython-OTA-Updater/releases/latest', headers={'Content-Type': 'text/html', 'User-Agent': 'kapest007'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "libs/urequests.py", line 60, in request
OSError: [Errno 12] ENOMEMIn the M5Stick C Plus and M5STAMP Pico it does what it should.
I have tried this with the current firmware 1.11.8.
I hope the problem can be fixed in the next firmware release.Peter
-
m5stick c plus battery will not charge
I bought a couple of M5Stick C Plus a few months ago and now I want to put them into operation. Unfortunately, the battery does not charge. A 68 ohm resistor between bat and 3.3 volts does not help either.
Does anyone have a tip on this?The voltage at PIN BAT is 2 mV. When I connect a LiIon battery there, it will be charged.
Looks like a cold solder joint. Is something like this known. It is so with all 4 tested devices. -
Solved - lcd.xxx() don't work
I have accessed the M5Stick C Plus display in Micropyton with lcd.print() in the past. Suddenly this does not work anymore.
from m5stack import *
from m5ui import *
from uiflow import *
lcd.clear()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'lcd' isn't defined
Can someone explain me how to use the internal M5Stack Micropython commands again.
As IDE I use Thonny.After a restart of Thonny, it works again.