Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.547 kb
#!/usr/bin/python
import time
import datetime
from Adafruit_8x8 import EightByEight
# ===========================================================================
# 8x8 Pixel Example
# ===========================================================================
grid = EightByEight(address=0x70)
print "Press CTRL+Z to exit"
# Continually update the 8x8 display one pixel at a time
while(True):
for x in range(0, 8):
for y in range(0, 8):
grid.setPixel(x, y)
time.sleep(0.05)
time.sleep(0.5)
grid.clear()
time.sleep(0.5)
Jump to Line
Something went wrong with that request. Please try again.