Skip to content

Instantly share code, notes, and snippets.

View SinglePIXL's full-sized avatar

Alejo SinglePIXL

View GitHub Profile
import piface.pfio
import time
import sys
import syslog
class SecurityIndicator:
""" A switch and LED link: Displays light when switch is closed """
def __init__(self, pin_pair, label):
self.pin_pair = pin_pair