A simple GUI for LCD touchscreens
Posted: 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.
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.