Пример #1
0
def red_amber(path):

    """Set the lights for the named path to red-amber."""

    HardwareAccessLayer.set_path(path, 0, 1)
Пример #2
0
def green(path):

    """Set the lights for the named path green."""

    HardwareAccessLayer.set_path(path, 1, 1)
Пример #3
0
def amber(path):

    """Set the lights for the named path to amber."""

    HardwareAccessLayer.set_path(path, 1, 0)
Пример #4
0
def red(path):

    """Set the lights for the named path to red."""

    HardwareAccessLayer.set_path(path, 0, 0)