Is it possible that lcd.image expects an image smaller than the lcd? Perhaps it needs to be resized.
Have you tried displaying a small image?
JackH
@JackH
Posts made by JackH
-
RE: [Core2] How to download JPG from web and display it on screen?
-
RE: Preferred development flow
+1 for Thonny, works great. Only drawback is that it does not yet have debug functionality for MicroPython.
-
RE: [M5Core] empty UIFlow firmware
Related to this request would be having the possibility of burning bare MicroPython from source, bringing in all M5Core drivers, and adding any user made apps, tables and pre-cooked code.
-
RE: Does Anybody Use UIFlow for Anything Concrete Poll
Ok, so after 10 days we have:
- UiFlow - 5
- MicroPython - 5
- Arduino/PlatformIO - 6
- M5EZ - 2
- ESP-IDF - 0
I'd be interested to hear from more people. M5Stack, do you have an idea of the distribution of operating systems for the community at large?
-
RE: Does Anybody Use UIFlow for Anything Concrete Poll
A good mix so far, interesting. Feel free to add your own, oh silent reader ;-)
-
RE: Does Anybody Use UIFlow for Anything Concrete Poll
I'll start. I use
2 = MicroPython
-
RE: Run Script Automatically when First Turned On
OK it works. So for future reference this is what I did:
- Turn on the unit (mine is an M5StickC with UIFlow 1.6.6 firmware)
- press the M5 button quickly after that to enter setup mode (my screen shows <code>)
- side button to get the Setup menu
- M5 again to select it
- Switch Mode
- M5 again
- side button to select APP
- side button to select '..' at top
- M5 to go back to previous menu
- side button to select Reboot
- M5 to reboot
From now on whenever you turn it on the Stick will run boot.py and then main.py in the /flash directory.
If when it's so running you attach the device to a computer via the USB cable, you can interrupt whatever it is doing by starting Thonny and hitting ctrl-F2 (Stop/Restart Backend), which will bring up the MicroPython REPL prompt. Cool.
-
Does Anybody Use UIFlow for Anything Concrete Poll
I am curious about software platform usage in M5Stack devices, so here is my poll, just reply with the number that applies to you:
- UIFlow (1.9k posts)
- Micropython (392)
- Arduino IDE (359)
- M5EZ (39)
- ESP-IDF (13)
The figures on each line are the number of posts shown for each in the forum today.
Thanks for participating
Jack -
RE: Run Script Automatically when First Turned On
Excellent, I will try that, thank you very much.
-
RE: Newbie questions (sorry)
@erich re: your other question
For MicroPython I use Thonny, it's bare bone but does the trick. Have a look at this to get started.
Jack