@wolli01 Here is the driver I've been working on https://github.com/russhughes/ili9342c_mpy
Best posts made by Russ
-
RE: Lcd driver for M5Stack Core2
-
RE: Lcd driver for M5Stack Core2
I was able to make concurrent display and sdcard work on the original M5Stacks https://github.com/russhughes/TinyBigBuckBunny but have not been able to make it work on the Core2's yet. I'm not sure why yet.
-
RE: Lcd driver for M5Stack Core2
I was able to get simultaneous display and sdcard access working. The M5CORE2 firmware.bin has been updated. See the tbbunny.py example from https://github.com/russhughes/ili9342c_mpy/blob/main/examples/M5CORE2/tbbunny.py
Latest posts made by Russ
-
RE: Core2 vs. Core
If the M5 firmware is close to the upstream MicroPython, you can:
import gc
gc.mem_free()And it will print the available free memeory
gc.collect()
Will run the memory garbage collection to free up memory that is no longer being used. You can gc.collect() somewhere in your main loop to make sure memory is kept tidy.
See the gc module page for more information https://docs.micropython.org/en/latest/library/gc.html?highlight=gc#module-gc
-
RE: Lcd driver for M5Stack Core2
@wolli01 At the very end of the program before it quits.
-
RE: Lcd driver for M5Stack Core2
@wolli01 Updated repo with two examples using the touchscreen. The buttons on the Core2 are actually part of the touchscreen that extend below the display from about Row 240 to 279.
Button press example:
https://github.com/russhughes/ili9342c_mpy/blob/main/examples/M5CORE2/buttons.pyVery simple paint program:
https://github.com/russhughes/ili9342c_mpy/blob/main/examples/M5CORE2/paint.py -
RE: Lcd driver for M5Stack Core2
Yes, I’ll add an example working with the touchscreen later tonight.
-
RE: uPy Module Programming contest?
@bricoms You might be interested in this MicroPython 1.14 firmware with display, SD card driver, AXP driver, a couple of utilities and example programs for M5Stack’s and Core2’s.
-
RE: Stepmotor Module - Hard Limit
There is an internal header with holes labeled LX, LY and LZ that I suspect are the connections for the limits switches.
-
RE: Lcd driver for M5Stack Core2
I was able to get simultaneous display and sdcard access working. The M5CORE2 firmware.bin has been updated. See the tbbunny.py example from https://github.com/russhughes/ili9342c_mpy/blob/main/examples/M5CORE2/tbbunny.py
-
RE: Lcd driver for M5Stack Core2
I was able to make concurrent display and sdcard work on the original M5Stacks https://github.com/russhughes/TinyBigBuckBunny but have not been able to make it work on the Core2's yet. I'm not sure why yet.
-
RE: Lcd driver for M5Stack Core2
@wolli01 Here is the driver I've been working on https://github.com/russhughes/ili9342c_mpy