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 Ruff Code style: Black https://img.shields.io/badge/skeleton-2023-informational

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.2.0.tar.gz (19.9 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.2.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaraco.nxt-2.2.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for jaraco.nxt-2.2.0.tar.gz
Algorithm Hash digest
SHA256 1350a283bf2bf37667e2d7cc2a02359f37e48ef51ae2fa33bba538e5c519d266
MD5 bbe14677919fa516cd27397ad4c3fb7c
BLAKE2b-256 83bce74213e0fda175da70014f66c15179a8e96482b031ae7b745ea4309faa62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaraco.nxt-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for jaraco.nxt-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1741ea7d25ca3d364e774abc0646be3173e760b1d8324fbf551c37b8ea4a13e2
MD5 81dd738e19ec3572dc30a3b462c92546
BLAKE2b-256 4ebd216ccccac57789f8788fd69c863df10da29d03818a6c34f2d72b9ba53693

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