Skip to content

Instantly share code, notes, and snippets.

View jsiverskog's full-sized avatar

Jacob Siverskog jsiverskog

  • teenage engineering, ready lets go
  • norrköping, sweden
View GitHub Profile
@jsiverskog
jsiverskog / bean_reader.py
Created February 25, 2016 09:26
Python snippet to read data from Lightblue Bean scratch characteristics
from __future__ import print_function
import dbus
import sys
import dbus.service
import dbus.mainloop.glib
import gobject as gobject
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()