Skip to content

Commit 5fdad0c

Browse files
committed
add examples to rst file for docs
1 parent f7442ac commit 5fdad0c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/examples.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,22 @@ Ensure your device works with this simple test.
66
.. literalinclude:: ../examples/spd1656_simpletest.py
77
:caption: examples/spd1656_simpletest.py
88
:linenos:
9+
10+
Stripes test
11+
------------
12+
13+
Show stripes with each of the colors that can be displayed
14+
15+
.. literalinclude:: ../examples/spd1656_color_stripes.py
16+
:caption: examples/spd1656_color_stripes.py
17+
:linenos:
18+
19+
Colors and Text Example
20+
-----------------------
21+
22+
Display a filled colored rectangle with a different
23+
border color and test layered on top in the center.
24+
25+
.. literalinclude:: ../examples/spd1656_colors_and_text.py
26+
:caption: examples/spd1656_colors_and_text.py
27+
:linenos:

0 commit comments

Comments
 (0)