chickenhouse/engine_test.py

17 lines
236 B
Python
Raw Normal View History

2016-03-20 17:16:20 +00:00
#!/usr/bin/python2
from engine import engine
from time import sleep
eng = engine(13, 19)
while True:
eng.stop()
print "engine stop"
sleep(3)
eng.run_up()
print "engine up"
sleep(3)
eng.run_down()
print "engine down"
sleep(3)