コード例 #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()