added example from Adafruit: scopy.py