Skip to main content

Logo Mindstorms NXT Routines

Project description

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.

Project details


Download files

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

Files for jaraco.nxt, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size jaraco.nxt-2.0-py2.py3-none-any.whl (12.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size jaraco.nxt-2.0.tar.gz (20.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page