P2GUI (Encoder Version)

Spin2 framework for creating UIs using ILI9341 TFT displays that uses an encoder as input.
Share this object
<

Overview

Content

P2GUI

P2GUI is a framework for creating UI’s based on TFT screens driven with ILI9341. This framework is based on the driver created by Greg LaPolla which includes a Touchscreen driver for the XPT2046. There are two versions of this framework, one that uses the touchscreen and this one which uses an encoder with a push button to interact with the UI. Because most TFT displays that use the ILI9341 chipset are usually small in size, it makes sense to use an encoder as the interaction method to avoid inaccuracies when using touchscreen, specially with small widgets. The encoder is handled using jm_quadrature object from JonnyMac.

This project uses one cog for the display driver. Everything else is handled in the user application cog with non-blocking timers (using Neotimer).

Demo Video

Documentation:
P2GUI_Encoder


Downloads  
Zip archive download

Leave a Reply