Skip to content

Commit fad3600

Browse files
authored
Merge pull request #17 from jposada202020/master
updating_API_documentation
2 parents f546bcb + 84320ff commit fad3600

File tree

3 files changed

+55
-4
lines changed

3 files changed

+55
-4
lines changed

adafruit_tlc59711.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
# SPDX-License-Identifier: MIT
55

66
"""
7-
`adafruit_tlc59711`.
8-
7+
`adafruit_tlc59711`
98
====================================================
109
1110
CircuitPython module for the
@@ -28,8 +27,8 @@
2827
* The API is mostly compatible to the DotStar / NeoPixel Libraries
2928
and is therefore also compatible with FancyLED.
3029
31-
* Adafruit CircuitPython firmware for the ESP8622, M0 or M4-based boards:
32-
https://github.com/adafruit/circuitpython/releases
30+
* Adafruit CircuitPython firmware for the supported boards:
31+
https://circuitpython.org/downloads
3332
"""
3433
__version__ = "0.0.0-auto.0"
3534
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_TLC59711.git"

docs/examples.rst

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,53 @@ Ensure your device works with this simple test.
66
.. literalinclude:: ../examples/tlc59711_simpletest.py
77
:caption: examples/tlc59711_simpletest.py
88
:linenos:
9+
10+
11+
FancyLED
12+
------------
13+
14+
this is an example for combining the TLC5957 library with FancyLED.
15+
Enjoy the colors :-)
16+
17+
.. literalinclude:: ../examples/tlc59711_fancyled.py
18+
:caption: examples/tlc59711_fancyled.py
19+
:linenos:
20+
21+
22+
Animations Example
23+
------------------
24+
25+
You should have a plethora of functions to animate your lights.
26+
27+
.. literalinclude:: ../examples/tlc59711_dev.py
28+
:caption: examples/tlc59711_dev.py
29+
:linenos:
30+
31+
32+
Single Chip Autoshow
33+
--------------------
34+
35+
This makes it very slow on lots of pixel changes but is convenient for only a handful of pixels.
36+
37+
.. literalinclude:: ../examples/tlc59711_singlechip_autoshow.py
38+
:caption: examples/tlc59711_singlechip_autoshow.py
39+
:linenos:
40+
41+
42+
Brightness Correction Data
43+
--------------------------
44+
45+
Test brightness correction data (BC)
46+
47+
.. literalinclude:: ../examples/tlc59711_simpletest.py
48+
:caption: examples/tlc59711_simpletest.py
49+
:linenos:
50+
51+
Fastset test
52+
------------
53+
54+
Showcases the usage of set_pixel_16bit_value for fastest setting of values.
55+
56+
.. literalinclude:: ../examples/tlc59711_fastset.py
57+
:caption: examples/tlc59711_fastset.py
58+
:linenos:

docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Table of Contents
2323
.. toctree::
2424
:caption: Tutorials
2525

26+
Adafruit 12-Channel 16-bit PWM LED Driver - SPI Interface - TLC59711 Learning Guide <https://learn.adafruit.com/tlc5947-tlc59711-pwm-led-driver-breakout/downloads-and-links>
27+
2628
.. toctree::
2729
:caption: Related Products
2830

0 commit comments

Comments
 (0)