Touch GUI for the official Pyboard display
Posted: Sun Feb 19, 2017 6:40 pm
This is targeted at applications in machine control and for the display of realtime data. Controls are rendered using graphics primitives rather than icons: this ensures that the controls are readily scalable. It uses uasyncio for scheduling and provides an event based API based on callbacks.
It's best described as an alpha release; it needs further testing but there's an issue with the display's touch detection which is yet to be resolved (https://github.com/micropython/micropython/issues/2879). This means that the detection of long button presses is unreliable.
There are further images in the GitHub repository. Don't judge the display by my dodgy photography. It looks great in reality.
GitHub repo:
https://github.com/peterhinch/micropyth ... cr-gui.git
Official display documentation:
http://docs.micropython.org/en/latest/p ... r.LCD160CR
Now includes a module enabling the display of simple graphs using polar or Cartesian coordinates:
It's best described as an alpha release; it needs further testing but there's an issue with the display's touch detection which is yet to be resolved (https://github.com/micropython/micropython/issues/2879). This means that the detection of long button presses is unreliable.
There are further images in the GitHub repository. Don't judge the display by my dodgy photography. It looks great in reality.
GitHub repo:
https://github.com/peterhinch/micropyth ... cr-gui.git
Official display documentation:
http://docs.micropython.org/en/latest/p ... r.LCD160CR
Now includes a module enabling the display of simple graphs using polar or Cartesian coordinates: