Skip to content

Instantly share code, notes, and snippets.

View estranged42's full-sized avatar

Mark Fischer estranged42

View GitHub Profile
estranged42 /
Last active September 12, 2016 00:24

Keybase proof

I hereby claim:

  • I am estranged42 on github.
  • I am estranged ( on keybase.
  • I have a public key ASCfG_6dGE2EFgYCFuO6qy6sW6yhMLchUjaKzjXwufnvZQo

To claim this, I am signing this object:

estranged42 /
Created February 12, 2018 20:35
Problematic that came with Adafruit Trinket M0
# Trinket IO demo
# Welcome to CircuitPython 2.0.0 :)
import board
from digitalio import DigitalInOut, Direction, Pull
from analogio import AnalogOut, AnalogIn
import touchio
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
import adafruit_dotstar as dotstar
estranged42 /
Created March 16, 2021 00:29
Basic Piezo buzzer with 6 notes on an Adafruit QT Py
# Uses a basic piezo buzzer to make tones:
# Adapted from
# QT Py can do capacitive touch sensing on 6 pins, so we can easily play 6 notes
import board
import simpleio
import touchio
# Define pin connected to piezo buzzer.