Switch branches/tags
Nothing to show
Find file Copy path
782cee5 Aug 21, 2015
1 contributor

Users who have contributed to this file

21 lines (16 sloc) 469 Bytes
from picamera import PiCamera
from picamera.array import PiRGBArray
from sense_hat import SenseHat
sense = SenseHat()
while True:
with PiCamera() as camera:
camera.resolution = (64, 64)
with PiRGBArray(camera, size=(8, 8)) as stream:
camera.capture(stream, format='rgb', resize=(8, 8))
image = stream.array
pixels = [
for row in image
for pixel in row