Logo Mindstorms NXT Routines
Project description
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
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
Built Distribution
Hashes for jaraco.nxt-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb3c42e90665a7ce301f90e8e9c1061f796c2eee251e2fab99b69258b08abad6 |
|
MD5 | 583d827ac9d7bbb17b246df560b54605 |
|
BLAKE2b-256 | 15fc806a8a25cb96bc0ee38dc83164b1036a6c48118cd5e1c9fbcc2f042820a8 |