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.
Posts made by torabora
Add framebuffer library to UIFlow
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 socket
addr = socket.getaddrinfo('micropython.org', 80)[-1]
s = socket.socket()
s.send(b'GET / HTTP/1.1\r\nHost: micropython.org\r\n\r\n')
data = s.recv(1000)
lcd.print("Data len: " + str(len(data)))
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.
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?