Functions | |
def | setup |
def | destroy |
def | loop |
def | HelloWorld |
def | PrintTime |
def | getLightHours |
def | setLightHours |
def | getMode |
def | setMode |
def | getSensor |
Variables | |
GPIO = webiopi.GPIO | |
int | SWITCH = 21 |
int | SERVO = 23 |
int | LED0 = 24 |
int | LED1 = 25 |
int | LIGHT = 17 |
int | HOUR_ON = 8 |
int | HOUR_OFF = 18 |
int | HEATER = 7 |
int | MIN = 22 |
int | MAX = 24 |
AUTO = True | |
tuple | serial = Serial("ttyACM0", 9600) |
list | sensors = [0 for a in range(6)] |
def script.destroy | ( | ) |
Definition at line 28 of file script.py.
Referenced by loop(), and webiopi.utils.loader.unloadScripts().
def script.getLightHours | ( | ) |
Definition at line 48 of file script.py.
Referenced by setLightHours().
def script.setLightHours | ( | on, | |
off | |||
) |
Definition at line 55 of file script.py.
References getLightHours().
def script.setup | ( | void | ) |
Definition at line 15 of file script.py.
Referenced by webiopi.utils.loader.loadScript().