Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
24 lines (17 sloc) 0.54 kB
#!/usr/bin/python
import time
import datetime
from Adafruit_8x8 import ColorEightByEight
# ===========================================================================
# 8x8 Pixel Example
# ===========================================================================
grid = ColorEightByEight(address=0x70)
print "Press CTRL+Z to exit"
iter = 0
# Continually update the 8x8 display one pixel at a time
while(True):
iter += 1
for x in range(0, 8):
for y in range(0, 8):
grid.setPixel(x, y, iter % 4 )
time.sleep(0.02)
Jump to Line
Something went wrong with that request. Please try again.