Commit Graph

4 Commits

Author SHA1 Message Date
Anna Schumaker
40ee611f33 Use GPIO.HIGH and GPIO.LOW for ON and OFF
It's even more obvious than 1 and 0!

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:32:21 -04:00
Anna Schumaker
3ef9283d6f simulator: Add a function for reloading the simulator
This lets me update the doors.py file without needing to exit the Python
interpreter.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:20:10 -04:00
Anna Schumaker
c877f6db00 Simulator should occasionally throw errors
This lets me test LED blinking code.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 21:10:37 -04:00
Anna Schumaker
8faf31c86f Create a door controller simulator
The simulator fakes up some libraries so that the main door controller
script can be tested without needing a Raspberry Pi.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 20:47:11 -04:00