We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2484480 commit 47bfe24Copy full SHA for 47bfe24
source/examples/python/i2cmatrix.py
@@ -25,9 +25,13 @@
25
]
26
27
bus.write_i2c_block_data(matrix, 0, frown)
28
-time.sleep(delay)
+for fade in range(0xef, 0xe0, -1):
29
+ bus.write_byte_data(matrix, fade, 0)
30
+ time.sleep(delay/10)
31
32
bus.write_i2c_block_data(matrix, 0, neutral)
33
+for fade in range(0xe0, 0xef, 1):
34
35
36
37
bus.write_i2c_block_data(matrix, 0, smile)
0 commit comments