@Roberthh has developed some very effective drivers for LCD displays based on the SSD1963 chip. These make extensive use of assembler to achieve high performance. With his assistance I've coded a simple event driven GUI aimed at machine control and sensor display applications.
A video of the GUI in action is here http://hinch.me.uk/gui2.mov. This is running on a 480*272 pixel TFT driven by a Pyboard V1.1. Frozen bytecode is used to minimise RAM consumption (on the order of 27K used).
The GUI library may be found here https://github.com/peterhinch/micropython-tft-gui.git with the README providing links to Robert's drivers and to the cooperative scheduler employed.
A simple GUI for LCD touchscreens
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
A simple GUI for LCD touchscreens
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: A simple GUI for LCD touchscreens
Impressive.
Re: A simple GUI for LCD touchscreens
Hi Pythoncoder,
that's a nice movie and gives a good impression of what can be done with PyBoard.
Regards, Robert
that's a nice movie and gives a good impression of what can be done with PyBoard.
Regards, Robert
Re: A simple GUI for LCD touchscreens
very impressive indeed and well documented (as usual )
Thanks!
Thanks!
Re: A simple GUI for LCD touchscreens
Really awesome!
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: A simple GUI for LCD touchscreens
I have updated this to use uasyncio rather than my own scheduler. This has been possible owing to the recent major improvements to the uasyncio library. Changes to the interface are minimal and performance is subjectively unchanged.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.