Skip to content

Instantly share code, notes, and snippets.

View brunql's full-sized avatar
💻

Mikhail Shatokhin brunql

💻
View GitHub Profile
@Atarity
Atarity / RPi-SPI-example.py
Created October 16, 2012 17:24
RPi SPI rainbow on Python
#!/usr/bin/python
# Light painting / POV demo for Raspberry Pi using
# Adafruit Digital Addressable RGB LED flex strip.
# ----> http://adafruit.com/products/306
import RPi.GPIO as GPIO, time, math
def fillStrip(strip, stripLength, gamma, t):
for x in range(stripLength):