Skip to main content
https://img.shields.io/pypi/v/skeleton.svg https://img.shields.io/pypi/pyversions/skeleton.svg https://img.shields.io/travis/jaraco/skeleton/master.svg

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.

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.0.tar.gz (20.5 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.0-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: jaraco.nxt-2.0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for jaraco.nxt-2.0.tar.gz
Algorithm Hash digest
SHA256 960e438405f186acdea3ce05cd3d9dd4f963b180bf00e8199d5e890e9fca9ef7
MD5 47718333f4fd629b59d6960ac96d3cd7
BLAKE2b-256 3111acf9cb49eda2821238e46c3a8829d47b3a373daaf2eceed2c97123dd4ddf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaraco.nxt-2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for jaraco.nxt-2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41eec4f66c59c6ce693ce5f4146e63e700f9eec726a5d54b73c233032d1806f3
MD5 571b4cf545cac5000788ad60ff442e0e
BLAKE2b-256 5eaaff046ab315f68fa21e7e3e0012df496ba160aa8651ac5a11c69247325d71

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