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.
-
Python3 and pip3
-
Lego USB Pad (only tested with a wii u one)
- Connect your Lego USB Pad to your computer.
- Install the required Python library:
pip3 install -r requirements.txt
- Adjust the USB device information in the script if necessary (idVendor, idProduct).
Run the script to smoothly cycle colors on the Lego USB Pad. The colors transition between the specified start and end colors repeatedly.
sudo python3 pulse.py
- Modify the
start_color
andend_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)
This project is licensed under the GPL-3.0.
- https://github.com/VincentXE/Lego-Dimensions-Pad-Scripts for the init stuff