Skip to main content

Logo Mindstorms NXT Routines

Project description

https://img.shields.io/pypi/v/jaraco.nxt.svg https://img.shields.io/pypi/pyversions/jaraco.nxt.svg tests Code style: Black

LEGO Mindstorms NXT Bluetooth API in Python

Overview

jaraco.nxt implements the LEGO Mindstorms NXT Bluetooth API in Python.

The jaraco.nxt library also can take advantage of the jaraco input package. To include it as part of the install, use the command pip install jaraco.nxt[input].

Getting Started

jaraco.nxt provides a message class for sending and receiving messages with the Lego NXT device. First pair the device with your PC by following the instructions included with the device. Then, determine the COM port to which it is connected. The hello world example is to retrieve the battery voltage. Browse the other examples for more inspiration.

For more information, read the docstrings of the modules in the packages.

Modules of interest are

  • jaraco.nxt.messages: implements the messages defined by the NXT Bluetooth protocol.

  • jaraco.nxt.controller: demonstrates how to link input from a joystick to messages controlling the motors. Uses jaraco.input.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaraco.nxt-2.1.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

jaraco.nxt-2.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file jaraco.nxt-2.1.0.tar.gz.

File metadata

  • Download URL: jaraco.nxt-2.1.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jaraco.nxt-2.1.0.tar.gz
Algorithm Hash digest
SHA256 3cdbc6f54eef7e559122f6c94705c2e0fcb921c710dcb3cc8b4b3e33b361978d
MD5 5e53cd7ed7496d4b8f10e3e487f03e0d
BLAKE2b-256 925d74b6d76de45c788b91efb17a8dfbdba01d83fb546655530bd0682df37a9c

See more details on using hashes here.

File details

Details for the file jaraco.nxt-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: jaraco.nxt-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for jaraco.nxt-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d67e48a110fb610dceeb5cf1ab94b89dbeb0b50432330f52f1fbfbd8235e42a
MD5 7c2cc1220f629e45623109816d8edf26
BLAKE2b-256 0ee357133328ab0124b71b109159aae0eb5925f7a4151afe6896996fb7c545f7

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