A Python library for controlling the LEGO Technic Move Hub via Bluetooth Low Energy (BLE).
Project description
Technic Move Hub Python Library
A Python library for controlling the LEGO Technic Move Hub via Bluetooth Low Energy (BLE). This library aims to provide a simple, synchronous interface for controlling your LEGO Move Hub.
Features
- Connect and disconnect from the LEGO Technic Move Hub.
- Set the LED color.
- Control motors (A, B, C) with speed and direction (forward/backward).
- Handles asynchronous BLE communication internally, providing a synchronous API for the user.
- Graceful program exit if the hub is not connected when a command is issued.
Installation
You can install this library directly from PyPI using pip:
pip install technicmovehub
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file technicmovehub-0.1.1.tar.gz.
File metadata
- Download URL: technicmovehub-0.1.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03dd7dff72506562ced6c8ae0c3a8818fa338f67b1709294cb2bd45b1c7b93b0
|
|
| MD5 |
82d7dd0ab8dbb0959810b176a0a44735
|
|
| BLAKE2b-256 |
6de33f5accbcabadb0c54bfabb7ad82d597f587b6dd7c11e1e97a5baa7a03650
|
File details
Details for the file technicmovehub-0.1.1-py3-none-any.whl.
File metadata
- Download URL: technicmovehub-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cff380733a8b35041c0d18320c58ec29bdbc9114b692b80b531815a495c25297
|
|
| MD5 |
645d00aa05c471fa36ae6cbe020dfc4f
|
|
| BLAKE2b-256 |
83f889b74501a31296ed2beefc02d645fb81ee3c5cfb6d047e99f899e3be30ab
|