Logo Mindstorms NXT Routines
Project description
Overview
jaraco.nxt implements the LEGO Mindstorms NXT Bluetooth API in Python.
jaraco.nxt is written by Jason R. Coombs. It is licensed under an MIT-style permissive license.
You can install it with easy_install jaraco.nxt, or checkout the source from the Github repository.
The jaraco.nxt library also can take advantage of the jaraco input package. To include it as part of the install, use the command easy_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.
Development
To develop on the project, grab the latest code with your favorite git client and then run pip install --egg -e . or python setup.py develop.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jaraco.nxt-1.5.tar.gz
.
File metadata
- Download URL: jaraco.nxt-1.5.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffbe338aefc6e78e2c79dc0b6c079eba11cc94ffda0cf28c3f3adffa351a757 |
|
MD5 | 5fa42c20d9f3868e924874c4a3d78a76 |
|
BLAKE2b-256 | 55a856d9ef6b99b8b33513ae0d7728cf9e144867c383de2223fc2b824b51aae8 |