A Python Library For Kamibot
Project description
Package for Kamibot
example
from pyKamibot.kamibot import Kamibot
kamibot = Kamibot('COM23', 57600)
# ---------------------------------------------------
# Turn on LED
# ---------------------------------------------------
kamibot.turn_led(200, 0, 0)
kamibot.delay(1)
kamibot.turn_led(0, 200, 0)
kamibot.delay(1)
kamibot.turn_led(0, 0, 200)
kamibot.delay(1)
# ---------------------------------------------------
# Move on mapboard
# ---------------------------------------------------
for i in range(0, 100):
kamibot.turn_led(200, 0, 0)
kamibot.delay(1)
kamibot.turn_led(0, 200, 0)
kamibot.delay(1)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.