WS2812 LED Control APP Guide Python app

#Instructions for Users

0. Copy Paste WS2812_LED_APP folder to ~home/pi (recommended)

1. Open your terminal in the WS2812_LED_APP folder.
or open terminal and follow commands
cd ~/WS2812_LED_APP

2. Make the scripts executable:
chmod +x setup.sh run_app.sh

3. Install setup following command
./setup.sh
wait for complete

4. Run App with command
./run_app.sh
or 
Open/Execute App from Desktop shortcut

5. Folder Structure (Project files):

ws2812/ (Main folder)

led_app.so (Your compiled binary)

main.py (The launcher)

setup.sh (The installer script)

run_app.sh (The execution script)

README.txt (The instructions above)












Step 1: Open the Project Folder
Open your terminal.

Navigate to the project folder by typing:

Bash

cd ~/ws2812
Step 2: Prepare the Installer
You need to give the Pi permission to run the setup script. Type the following command:

Bash

chmod +x setup.sh run_app.sh
Step 3: Run the One-Click Setup
Run the installer script. This will set up the environment, install necessary libraries, and create a shortcut on your Desktop.

Bash

./setup.sh
Wait for the terminal to show "SETUP COMPLETED SUCCESSFULLY!" before closing the window.

Step 4: Launch the Application
You can now start the application in two ways:

From Desktop: Double-click the "LED Control" icon on your Raspberry Pi desktop.

From Terminal: Type ./run_app.sh inside the folder.













May required if not already installed
sudo apt update
sudo apt upgrade -y
sudo apt install -y \
python3 \
python3-venv \
python3-dev \
python3-tk \
build-essential


Comments