File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 57
57
# Note if auto_write was disabled you need to call write on the parent to
58
58
# make sure the value is written (this is not common, if disabling auto_write
59
59
# you probably want to use the direct 12-bit raw access instead shown below).
60
- # tlc5947.write()
60
+ # tlc5947.write()
61
61
62
62
# The other way to read and write channels is directly with each channel 12-bit
63
63
# value and an item accessor syntax. Index into the TLC5947 with the channel
64
64
# number (0-23) and get or set its 12-bit value (0-4095).
65
65
# For example set channel 1 to 50% duty cycle.
66
- # tlc5947[1] = 2048
66
+ #tlc5947[1] = 2048
67
+ # Or set channel 23 (first channel from the end) to 2/3 duty cycle.
68
+ #tlc5947[-1] = 2730
67
69
# Again be sure to call write if you disabled auto_write.
68
70
#tlc5947.write()
You can’t perform that action at this time.
0 commit comments