Skip to content

Instantly share code, notes, and snippets.

View jchadwhite's full-sized avatar

jchadwhite

  • Lancaster, Pennsylvania
View GitHub Profile
@jchadwhite
jchadwhite / bb8.py
Created November 12, 2015 23:26 — forked from ali1234/bb8.py
Control Sphero BB-8 from Linux.
#!/usr/bin/env python
# BB-8 Python driver by Alistair Buxton <a.j.buxton@gmail.com>
from bluepy import btle
import time
class BB8(btle.DefaultDelegate):
def __init__(self, deviceAddress):