We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d79874 commit e6e706fCopy full SHA for e6e706f
examples/tlc5947_simpletest.py
@@ -57,12 +57,14 @@
57
# Note if auto_write was disabled you need to call write on the parent to
58
# make sure the value is written (this is not common, if disabling auto_write
59
# you probably want to use the direct 12-bit raw access instead shown below).
60
-# tlc5947.write()
+# tlc5947.write()
61
62
# The other way to read and write channels is directly with each channel 12-bit
63
# value and an item accessor syntax. Index into the TLC5947 with the channel
64
# number (0-23) and get or set its 12-bit value (0-4095).
65
# For example set channel 1 to 50% duty cycle.
66
-# tlc5947[1] = 2048
+#tlc5947[1] = 2048
67
+# Or set channel 23 (first channel from the end) to 2/3 duty cycle.
68
+#tlc5947[-1] = 2730
69
# Again be sure to call write if you disabled auto_write.
70
#tlc5947.write()
0 commit comments