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.
User avatar
pythoncoder
Posts: 1315
Joined: Fri Jul 18, 2014 8:01 am

A simple GUI for LCD touchscreens

Postby 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

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

Re: A simple GUI for LCD touchscreens

Postby SpotlightKid » Tue May 03, 2016 4:52 pm

Impressive.

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

Re: A simple GUI for LCD touchscreens

Postby 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: 122
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: A simple GUI for LCD touchscreens

Postby marfis » Thu May 05, 2016 3:38 pm

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

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

Re: A simple GUI for LCD touchscreens

Postby Damien » Thu May 05, 2016 4:22 pm

Really awesome!

User avatar
pythoncoder
Posts: 1315
Joined: Fri Jul 18, 2014 8:01 am

Re: A simple GUI for LCD touchscreens

Postby 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


Return to “Drivers for External Components”

Who is online

Users browsing this forum: No registered users and 1 guest