File tree Expand file tree Collapse file tree 5 files changed +59
-2
lines changed Expand file tree Collapse file tree 5 files changed +59
-2
lines changed Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: MIT
4
4
5
5
"""
6
- `progressbar_base `
6
+ `adafruit_progressbar `
7
7
================================================================================
8
8
9
9
Dynamic progress bar widget for CircuitPython displays
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class HorizontalProgressBar(ProgressBarBase):
57
57
Using the diagrams below, the bar will fill in the following directions::
58
58
59
59
--------------------------------
60
- | Left-to-right | 1-3 to 2-4 |
60
+ | Left-to-right | 1-3 to 2-4 |
61
61
--------------------------------
62
62
| Right-to-left | 2-4 to 1-3 |
63
63
--------------------------------
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ API Definition
6
6
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
7
7
.. use this format as the module name: "adafruit_foo.foo"
8
8
9
+ .. automodule :: adafruit_progressbar
10
+ :members:
11
+
9
12
.. automodule :: adafruit_progressbar.horizontalprogressbar
10
13
:members:
11
14
:show-inheritance:
Original file line number Diff line number Diff line change @@ -16,3 +16,53 @@ Example showing how to change the progressbar color while updating the values
16
16
.. literalinclude :: ../examples/progressbar_displayio_blinka_color_scale.py
17
17
:caption: examples/progressbar_displayio_blinka_color_scale.py
18
18
:linenos:
19
+
20
+
21
+ Vertical Simple test
22
+ --------------------
23
+
24
+ Simple test to show a vertical Progress bar
25
+
26
+ .. literalinclude :: ../examples/progressbar_vertical_simpletest.py
27
+ :caption: examples/progressbar_vertical_simpletest.py
28
+ :linenos:
29
+
30
+
31
+ MatrixPortal Example
32
+ --------------------
33
+
34
+ Progressbar using the MatrixPortal
35
+
36
+ .. literalinclude :: ../examples/progressbar_matrixportal.py
37
+ :caption: examples/examples/progressbar_matrixportal.py
38
+ :linenos:
39
+
40
+
41
+
42
+ MagTag Example
43
+ ---------------
44
+
45
+ Progressbar using the MagTag
46
+
47
+ .. literalinclude :: ../examples/progressbar_magtag_simpletest.py
48
+ :caption: examples/progressbar_magtag_simpletest.py
49
+ :linenos:
50
+
51
+
52
+ DisplayIO Blinka
53
+ ----------------
54
+
55
+ Progressbar using DisplayIO in Blinka
56
+
57
+ .. literalinclude :: ../examples/progressbar_displayio_blinka.py
58
+ :caption: examples/progressbar_displayio_blinka.py
59
+ :linenos:
60
+
61
+ Combined ProgressBar
62
+ --------------------
63
+
64
+ Example showing both a Vertical and an Horizontal ProgressBar
65
+
66
+ .. literalinclude :: ../examples/progressbar_combined.py
67
+ :caption: examples/progressbar_combined.py
68
+ :linenos:
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ Table of Contents
23
23
.. toctree ::
24
24
:caption: Tutorials
25
25
26
+ ProgressBar Basics <https://learn.adafruit.com/magtag-progress-displays/progressbar-basics >
27
+
28
+ Adafruit MagTag COVID Vaccination Percent Tracker <https://learn.adafruit.com/adafruit-magtag-covid-vaccination-percent-tracker >
29
+
26
30
27
31
.. toctree ::
28
32
:caption: Related Products
You can’t perform that action at this time.
0 commit comments