Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmdada/legodimensionsusb
A python script to pulse between colors on a connected lego dimensions toypad
https://github.com/cmdada/legodimensionsusb
Last synced: 25 days ago
JSON representation
A python script to pulse between colors on a connected lego dimensions toypad
- Host: GitHub
- URL: https://github.com/cmdada/legodimensionsusb
- Owner: cmdada
- License: gpl-3.0
- Created: 2024-01-16T04:16:17.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-26T03:07:53.000Z (9 months ago)
- Last Synced: 2024-02-26T04:25:22.800Z (9 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lego USB smooth color cycling
## Overview
This Python script allows you to smoothly cycle colors on a Lego USB Pad. It uses USB communication to control the colors displayed on the pad.## Prerequisites
- Python3 and pip3- Lego USB Pad (only tested with a wii u one)
## Setup
1. Connect your Lego USB Pad to your computer.
2. Install the required Python library:
```bash
pip3 install -r requirements.txt
```
3. Adjust the USB device information in the script if necessary (idVendor, idProduct).## Usage
Run the script to smoothly cycle colors on the Lego USB Pad. The colors transition between the specified start and end colors repeatedly.```bash
sudo python3 pulse.py
```## Configuration
- Modify the `start_color` and `end_color` variables in the script to set the initial and target colors.
- Adjust the `transition_duration` variable to control the duration of each color transition (its not seconds i just dont want to fix it)## License
This project is licensed under the [GPL-3.0](LICENSE).## Acknowledgments
- https://github.com/VincentXE/Lego-Dimensions-Pad-Scripts for the init stuff