A simple GUI for LCD touchscreens

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

A simple GUI for LCD touchscreens

Post by pythoncoder » Tue May 03, 2016 12:42 pm

@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.
Peter Hinch
Index to my micropython libraries.

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: A simple GUI for LCD touchscreens

Post by SpotlightKid » Tue May 03, 2016 4:52 pm

Impressive.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: A simple GUI for LCD touchscreens

Post by Roberthh » Tue May 03, 2016 8:18 pm

Hi Pythoncoder,

that's a nice movie and gives a good impression of what can be done with PyBoard.

Regards, Robert

User avatar
marfis
Posts: 215
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: A simple GUI for LCD touchscreens

Post by marfis » Thu May 05, 2016 3:38 pm

very impressive indeed and well documented (as usual ;) )
Thanks!

Damien
Site Admin
Posts: 647
Joined: Mon Dec 09, 2013 5:02 pm

Re: A simple GUI for LCD touchscreens

Post by Damien » Thu May 05, 2016 4:22 pm

Really awesome!

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: A simple GUI for LCD touchscreens

Post by pythoncoder » Wed Jan 11, 2017 7:45 am

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.

Post Reply