Introduction
A dial gauge widget for displaying graphical information.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.
Installing from PyPI
Note
This library is not available on PyPI.
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment.
Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the
following command to install:
circup install displayio_dial
Or the following command to update an existing version:
circup update
Usage Example
See scripts in the examples directory of this repository.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Documentation
For information on building library documentation, please check out this guide.
Table of Contents
Examples
API Reference
- API Reference
displayio_dialDialDial.resize()Dial.valueDial.value_fontDial.value_colorDial.dial_centerDial.dial_radiusDial.start_angleDial.sweep_angleDial.anchor_pointDial.anchored_positionDial.append()Dial.bounding_boxDial.heightDial.hiddenDial.index()Dial.insert()Dial.pop()Dial.remove()Dial.scaleDial.sort()Dial.widthDial.xDial.y
draw_ticks()draw_labels()