I/O capable GUI
Posted: Wed Jun 23, 2021 8:00 am
micro-gui is an alternative to nano-gui. Both are portable between hosts, and both use the same display drivers providing portability to a range of displays.
While nano-gui is display-only, micro-gui has provision for user input via a set of from 2-5 pushbuttons. Alternatively a joystick-style navigation button may be used. With a TTGO T-Display an amazingly cheap WiFi capable I/O device can be constructed. The I/O capability comes at a cost in complexity and RAM usage: if you have no need for user input, nano-gui is preferred.
This image shows micro-gui running on a Pi Pico with a 320*240 ILI9341 display. The pushbuttons enable navigation between widgets. The Scale widget at top centre is one of several enabling the input of floating point values to high precision (0.05%). Widgets capable of input may programmatically be disabled (greyed-out), as may be seen on one of the pushbuttons.
This is running with standard firmware and no use of frozen bytecode. It reports 72560 bytes free.
Please note that further development is planned namely extra demo scripts and improved drivers for some displays, so check for upgrades.
While nano-gui is display-only, micro-gui has provision for user input via a set of from 2-5 pushbuttons. Alternatively a joystick-style navigation button may be used. With a TTGO T-Display an amazingly cheap WiFi capable I/O device can be constructed. The I/O capability comes at a cost in complexity and RAM usage: if you have no need for user input, nano-gui is preferred.
This image shows micro-gui running on a Pi Pico with a 320*240 ILI9341 display. The pushbuttons enable navigation between widgets. The Scale widget at top centre is one of several enabling the input of floating point values to high precision (0.05%). Widgets capable of input may programmatically be disabled (greyed-out), as may be seen on one of the pushbuttons.
This is running with standard firmware and no use of frozen bytecode. It reports 72560 bytes free.
Please note that further development is planned namely extra demo scripts and improved drivers for some displays, so check for upgrades.