File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ Usage Example
31
31
32
32
.. code-block :: python
33
33
34
- import adafruit_slideshow
34
+ from adafruit_slideshow import PlayBackMode, SlideShow
35
35
36
- slideshow = adafruit_slideshow. SlideShow()
36
+ slideshow = SlideShow()
37
37
slideshow.loop = False
38
- slideshow.order = slideshow .ALPHA
38
+ slideshow.order = PlayBackMode .ALPHA
39
39
40
40
while slideshow.update():
41
41
pass
Original file line number Diff line number Diff line change 33
33
34
34
**Hardware:**
35
35
36
- * `Adafruit Hollowing M0 Express <https://www.adafruit.com/product/3900>`_
36
+ * `Adafruit Hallowing M0 Express <https://www.adafruit.com/product/3900>`_
37
37
38
38
**Software and Dependencies:**
39
39
@@ -101,7 +101,7 @@ class SlideShow:
101
101
if slideshow should auto play, ``False`` if you want to control advancement
102
102
manually. Default is ``True``.
103
103
104
- Example code for Hollowing Express. With this example, the slideshow will play through once
104
+ Example code for Hallowing Express. With this example, the slideshow will play through once
105
105
in alphabetical order:
106
106
107
107
.. code-block:: python
@@ -115,7 +115,7 @@ class SlideShow:
115
115
while slideshow.update():
116
116
pass
117
117
118
- Example code for Hollowing Express. Sets ``dwell`` to 0 seconds, turns ``auto_advance`` off,
118
+ Example code for Hallowing Express. Sets ``dwell`` to 0 seconds, turns ``auto_advance`` off,
119
119
and uses capacitive touch to advance backwards and forwards through the images and to control
120
120
the brightness level of the backlight:
121
121
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Table of Contents
27
27
.. toctree ::
28
28
:caption: Related Products
29
29
30
- Adafruit Hollowing M0 Express <https://www.adafruit.com/product/3900 >
30
+ Adafruit Hallowing M0 Express <https://www.adafruit.com/product/3900 >
31
31
32
32
.. toctree ::
33
33
:caption: Other Links
You can’t perform that action at this time.
0 commit comments