light_seq

Crates.iolight_seq
lib.rslight_seq
version0.1.0
sourcesrc
created_at2024-08-04 14:33:06.507406
updated_at2024-08-04 14:33:06.507406
descriptionRaspberry Pi based light show program reacting to the audio input.
homepage
repositoryhttps://github.com/jeudine/light_seq
max_upload_size
id1325028
size88,944
Julien Eudine (jeudine)

documentation

README

Light Seq

Raspberry Pi based light show program reacting to the audio input.

Installation

Cargo

If you already have a Rust environment set up, you can use the cargo install command:

cargo install light_seq

Usage

Connection

Connect your lights to GPIO 0, 1 and 2 of the Raspberry Pi.

Execution

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.

Commit count: 0

cargo fmt