Skip to main content

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.

Built Distribution

pyKamibot-0.12-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file pyKamibot-0.12-py3-none-any.whl.

File metadata

  • Download URL: pyKamibot-0.12-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pyKamibot-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a44fbb705820420ab23626252e6dceb7b5bb1df04af2cc0c3cc9ff2b99857f59
MD5 e0c4f6ebeab904dbd23f1cc16d6ae0cb
BLAKE2b-256 fede8dce983d9ca2569e986daa42c0bf30a5333eb7723a2b3599ceb47b0a6c29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page