Written by Limor Fried/Ladyada for Adafruit Industries.