@ajb2k3 Thank you very much for your reply!
Best posts made by torabora
-
RE: M5Stack Fire questions: firmwares and RAM
Latest posts made by torabora
-
Add framebuffer library to UIFlow
Hello!
I tried to get the picture to the screen quickly, but I couldn't find a way to do anything other than display it pixel by pixel.
Can you add the micropython framebuffer library to UIFlow or something like the Image library in microbit-micropython?
Or maybe I just didn't find it? Is there a way to create a sprite and display it?
lcd.image(x, y, file [,scale, type]) does not suit me because it can only download JPG or BMP files and display them. I can't create a sprite, fill it out and display it. -
RE: uiflow: usocket module does not work if upload a sketch through the "download"
@ajb2k3 The app starts after reboot M5 Fire, but the code is triggered in the exception block and displays message "Got Error!".
-
uiflow: usocket module does not work if upload a sketch through the "download"
I have a problem: the usocket module does not work if upload a sketch through the "download" item in the uiflow IDE.
Here's an example of sketch:from m5stack import lcd
import usocket as socketlcd.clear()
lcd.setCursor(0, 0)
lcd.setColor(lcd.WHITE)try:
addr = socket.getaddrinfo('micropython.org', 80)[0][-1]
s = socket.socket()
s.connect(addr)
s.send(b'GET / HTTP/1.1\r\nHost: micropython.org\r\n\r\n')
data = s.recv(1000)
s.close()
lcd.println("OK\n")
lcd.print("Data len: " + str(len(data)))except:
lcd.print("Got Error!")If you upload by button with the triangle icon (looks like play) - it works, data received. If uploaded on the M5 through download - always fails.
-
RE: M5Stack Fire questions: firmwares and RAM
@ajb2k3 Thank you very much for your reply!
-
M5Stack Fire questions: firmwares and RAM
To date, there are many available firmwares for M5Stack Fire which are available in the official M5Burner.
I am interested in the following firmwares: M5Cloud, M5GO, M5Flow, M5Fire and M5Fire-psram.-
Is it correct that the firmwares M5Cloud, M5GO, M5Flow are designed to work with the corresponding web IDE in which sketches are written in microPython?
Is there any difference in their use in terms of available memory?
M5Flow is more advanced and constantly updated, and the other two (M5Cloud and M5GO) will no longer be supported? The last commits in their repositories were made more than 6 months ago.
Are they outdated and the firmware is left only for compatibility purposes? -
M5Fire and M5Fire-psram - they are just different by available RAM? Do I need to write something to use it?
Sketches in Python for them are filled only through M5GO web ide?
What firmware can I use to write sketches in microPython and to use all available RAM of M5Fire?
-
-
UIFlow questions: modules, docs, restart
A few questions about UIFlow: what modules are included in UIFlow or how do I know?
Where can I find documentation for the m5ui module? is it possible to restart uiflow with a custom sketch?