micropython-nano-gui | lightweight MicroPython GUI library for display drivers
kandi X-RAY | micropython-nano-gui Summary
kandi X-RAY | micropython-nano-gui Summary
This library provides a limited set of GUI objects (widgets) for displays whose display driver is subclassed from the FrameBuffer class. Such drivers can be tiny as the graphics primitives are supplied by the FrameBuffer class. A range of device drivers is provided: the device driver doc provides guidance on selecting the right driver for your display, platform and application. The GUI is cross-platform. The device driver doc explains how to configure it for a given display and MicroPython host by adapting a single small file. The GUI supports multiple displays attached to a single target, but bear in mind the RAM requirements for multiple frame buffers. The GUI has been tested on Pyboard 1.1, Pyboard D and on the ESP32 reference board without SPIRAM. Running on ESP8266 is possible but frozen bytecode must be used owing to its restricted RAM. As of 14th March 2021 it runs on the Raspberry Pi Pico; on that target firmware must be of that date or later. The color15 demo fails because the firmware lacks uos.urandom() but hopefully it will be fixed soon. It uses synchronous code but is compatible with uasyncio. Some demo programs illustrate this. Code is standard MicroPython, but some device drivers use the native and viper decorators.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the device .
- Initialize camera .
- Connect to the clock
- Generate variable labels
- Initialize hardware .
- Add lines to the list .
- Get character .
- Set window size .
- Initialize the display .
- Test the meter .
micropython-nano-gui Key Features
micropython-nano-gui Examples and Code Snippets
Community Discussions
Trending Discussions on Internet of Things (IoT)
QUESTION
I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files
...ANSWER
Answered 2020-May-17 at 23:55The new object to get params in React Navigation 5 is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install micropython-nano-gui
The setup_examples directory contains example setup files for various hardware. These are templates which may be adapted to suit the hardware in use, then copied to the hardware root as color_setup.py. Example files:.
ssd1306_pyb.py Setup file for monochrome displays using the official driver. Supports hard or soft SPI or I2C connections.
ssd1351_esp32.py As written supports an ESP32 connected to a 128x128 SSD1351 display. After editing to match the display and wiring, it should be copied to the target as /pyboard/color_setup.py.
ssd1351_esp8266.py Similar for ESP8266. Usage is somewhat experimental.
st7735r_pyb.py Assumes a Pyboard with an Adafruit 1.8 inch TFT display.
st7735r144_pyb.py For a Pyboard with an Adafruit 1.44 inch TFT display.
ili9341_esp32.py A 240*320 ILI9341 display on ESP32.
st7789_pico.py Example with SSD7789 driver and Pi Pico host.
st7789_ttgo.py Setup for the TTGO T-Display device.
waveshare_pyb.py 176*274 ePaper display on Pyboard.
epd29_pyb_sync.py Adafruit 2.9 inch ePaper display for synchronous code.
epd29_pyb_async.py Adafruit 2.9 inch ePaper display: uasyncio applications.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page