Skip to content

Instantly share code, notes, and snippets.

@mazzmn
mazzmn / temp4sensor.py
Last active January 8, 2019 16:55
ChannelOneTempMonitor
#!/usr/bin/python
#Based on Adafruit's Raspberry Pi Lesson 11 Temperature sensing tutorial by Simon Monk
#Modified by Tim Massaro 2/2014
#This script now uses a Raspberry Pi, Adafruit PiPlate LCD and
#two DS18B20 temp sensor to monitor the freezer and fridge unit at Channel One Food Shelf
#significant changes
#adapt for 2 sensors
#Display temperature on the LCD
#sendtext messages when temperature is out of range
@mazzmn
mazzmn / TheQuoteMachine.py
Created March 7, 2014 23:18
Internet Connected Joke Machine Code
#!/usr/bin/python
#Button Handling based on this https://gist.github.com/larsks/6161684
#Main script by Tim Massaro for The Internet Connected Joke Machine
#import pifacecommon.core
import pifacecommon.interrupts
import os
import time
import pifacecad
import pycurl