This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |