Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 526 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 526 Bytes

cilantro

Python Robot API for the CamJam Edukit 3 by Red River Software

Example usage

from cilantro import Robot
from time import sleep

# Create instance of robot
robot = Robot()

# Go forward for 5 seconds then stop
robot.motors.m0 = 100
robot.motors.m1 = 100
sleep(5)
robot.motors.m0 = 0
robot.motors.m1 = 0

Distribute

Create source distribution

python setup.py sdist

Create wheel

python setup.py bdist_wheel

Upload to pypi

twine upload dist/*