Get 12% off, TODAY ONLY 12/12 – use the code TWELVE on check out! Some restrictions apply!

Hardware SPI in Python for Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Hardware SPI in Python for Raspberry Pi

by HooctAwnFonix on Sat Jan 05, 2013 4:05 pm

Hey guys,

I saw Adafruit has a nice tutorial on how to bit-bang the SPI in Python but I really wanted to use the hardware SPI in Python so I did a little project where I wrote a C extension for Python. I'd never done that before and I thought it was fun AND useful so I wrote it up here:

You can just check out the code on Github:

I don't know if this exists yet but if it does I couldn't find it. Hopefully somebody here finds it useful...
Posts: 77
Joined: Tue Sep 13, 2011 11:47 am
Location: Cambridge, MA