Skip to main content

A Python library for controlling the XGO robot using the BitBlock

Project description

Python Library for XGO Bitblock Board

from pybbxgo import *


robot = XGO('COM8', 57600)
ret = robot.connect()

if not ret:
    exit()

print('Hello XGO!')
# 0 ~ 100 사이의 값 설정
robot.forward(self, 50)
# 1000ms
robot.wait(1000)
robot.backward(self, 50)
robot.wait(1000)
robot.disconnect()

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

If you're not sure about the file name format, learn more about wheel file names.

pybbxgo-0.6-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file pybbxgo-0.6-py3-none-any.whl.

File metadata

  • Download URL: pybbxgo-0.6-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for pybbxgo-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 15509a072db7f7246f5383f41759c92d4c261c9724fa7ea98a280246a0588160
MD5 e24eaa004983cd70bac28ca5813752a1
BLAKE2b-256 187921bad9bce7e13c75e68e22c6deaa835aad550980f437bb699671ba1387c7

See more details on using hashes here.

Supported by

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