A Python Library For Kamibot
Project description
pyKamibot
example
from kamibot4py.kamibot import Kamibot
# ---------------------------------------------------
# RGB LED
# ---------------------------------------------------
kamibot = Kamibot('COM23', 57600)
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)
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.