예제 #1
0
파일: A1116.py 프로젝트: dimatoys/head
def test3():
    head = Head()

    try:
        while True:
            a = raw_input("command:")
            head.ExecuteCommand(a)
    except:
        pass

    head.Shutdown()
예제 #2
0
파일: testMotors.py 프로젝트: dimatoys/head
import sys
sys.path.append('.')

from time import sleep
from Head import Head

head = Head()

head.MoveForward()

sleep(1)

head.MoveStop()

head.Shutdown()