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 @@ -6,3 +6,53 @@ Ensure your device works with this simple test.
6
6
.. literalinclude :: ../examples/progressbar_simpletest.py
7
7
:caption: examples/progressbar_simpletest.py
8
8
:linenos:
9
+
10
+
11
+ Vertical Simple test
12
+ --------------------
13
+
14
+ Simple test to show a vertical Progress bar
15
+
16
+ .. literalinclude :: ../examples/progressbar_vertical_simpletest.py
17
+ :caption: examples/progressbar_vertical_simpletest.py
18
+ :linenos:
19
+
20
+
21
+ MatrixPortal Example
22
+ --------------------
23
+
24
+ Progressbar using the MatrixPortal
25
+
26
+ .. literalinclude :: ../examples/progressbar_matrixportal.py
27
+ :caption: examples/examples/progressbar_matrixportal.py
28
+ :linenos:
29
+
30
+
31
+
32
+ MagTag Example
33
+ ---------------
34
+
35
+ Progressbar using the MagTag
36
+
37
+ .. literalinclude :: ../examples/progressbar_magtag_simpletest.py
38
+ :caption: examples/progressbar_magtag_simpletest.py
39
+ :linenos:
40
+
41
+
42
+ DisplayIO Blinka
43
+ ----------------
44
+
45
+ Progressbar using DisplayIO in Blinka
46
+
47
+ .. literalinclude :: ../examples/progressbar_displayio_blinka.py
48
+ :caption: examples/progressbar_displayio_blinka.py
49
+ :linenos:
50
+
51
+ Combined ProgressBar
52
+ --------------------
53
+
54
+ Example showing both a Vertical and an Horizontal ProgressBar
55
+
56
+ .. literalinclude :: ../examples/progressbar_combined.py
57
+ :caption: examples/progressbar_combined.py
58
+ :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