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 501c1ce commit 330bbd4Copy full SHA for 330bbd4
Adafruit_LEDBackpack/ex_8x8_andy.py
@@ -0,0 +1,25 @@
1
+#!/usr/bin/python
2
+
3
+import time
4
+import datetime
5
+from Adafruit_8x8 import ColorEightByEight
6
7
+# ===========================================================================
8
+# 8x8 Pixel Example
9
10
+grid = ColorEightByEight(address=0x70)
11
12
+print "Press CTRL+Z to exit"
13
14
+iter = 0
15
+grid.setPixel(1, 1)
16
+blinkRate(2)
17
+time.sleep(0.5)
18
+# Continually update the 8x8 display one pixel at a time
19
+# while(True):
20
+# iter += 1
21
22
+# for x in range(0, 8):
23
+# for y in range(0, 8):
24
+# grid.setPixel(x, y, iter % 4 )
25
+# time.sleep(0.02)
0 commit comments