| Crates.io | light_seq |
| lib.rs | light_seq |
| version | 0.1.0 |
| created_at | 2024-08-04 14:33:06.507406+00 |
| updated_at | 2024-08-04 14:33:06.507406+00 |
| description | Raspberry Pi based light show program reacting to the audio input. |
| homepage | |
| repository | https://github.com/jeudine/light_seq |
| max_upload_size | |
| id | 1325028 |
| size | 88,944 |
Raspberry Pi based light show program reacting to the audio input.
If you already have a Rust environment set up, you can use the cargo install command:
cargo install light_seq
Connect your lights to GPIO 0, 1 and 2 of the Raspberry Pi.
You can run the program without any command line parameters and select the audio device during the execution (light_seq), or you can specify the id of the audio interface in the command line (e.g., to select the audio interface 0, run light_seq 0).
During the execution you can switch between 4 modes. To switch to a given mode, type the character corresponding to the mode and press enter.
| Mode | Character |
|---|---|
| Lights reacting to audio input | 0 |
| Testing | 1 |
| Lights On | 2 |
| Lights Off | 3 |
The default mode when the program starts is Lights On.
To quit the program type = and then press enter.