@@ -15,15 +15,15 @@ supercharged version of the original MicroPython driver. Its now more like a
15
15
normal Python sequence and features slice support, ``repr `` and ``len `` support.
16
16
17
17
Colors are now stored as ints by default rather than tuples. However, you can
18
- still use the tuple syntax to set values. For example, ``0x100000 `` is equivalent
19
- to ``(0x10, 0, 0) ``.
18
+ still use the tuple syntax to set values. For example, ``0x100000 `` is
19
+ equivalent to ``(0x10, 0, 0) ``. To make it easier to read and control each
20
+ color component, readback values are expressed as tuples.
20
21
21
22
.. note :: This API represents the brightness of the white pixel when present by
22
23
setting the RGB channels to identical values. For example, full white is
23
24
0xffffff but is actually (0, 0, 0, 0xff) in the tuple syntax. Setting a pixel
24
25
value with an int will use the white pixel if the RGB channels are identical.
25
- For full, independent, control of each color component use the tuple syntax
26
- and ignore the readback value.
26
+ For full, independent, control of each color component use the tuple syntax.
27
27
28
28
Dependencies
29
29
=============
@@ -51,8 +51,9 @@ This example demonstrates the library with the single built-in NeoPixel on the
51
51
pixels[0 ] = (10 , 0 , 0 )
52
52
53
53
This example demonstrates the library with the ten built-in NeoPixels on the
54
- `Circuit Playground Express <https://www.adafruit.com/product/3333 >`_. It turns off
55
- ``auto_write `` so that all pixels are updated at once.
54
+ `Circuit Playground Express <https://www.adafruit.com/product/3333 >`_. It turns
55
+ off ``auto_write `` so that all pixels are updated at once when the ``show ``
56
+ method is called.
56
57
57
58
.. code-block :: python
58
59
0 commit comments