Table of contents
This application provides a web-interface to control LED Lights connected to Raspberry Pico.
To get a local copy up and running follow these steps.
- Python
- pip
- Poetry (pip install poetry)
ALL FOLLOWED COMMANDS MUST BE USED IN PROJECT DIRECTORY
-
Clone the repository
git clone https://github.com/GASTER2302/Study_Students.git
-
Install python packages
poetry install
-
Download MicroPython and load it to your Pico.
-
Load files from Pico directory to your Pico.
To start the application in VS Code:
1. Add poetry virtual interpritator as your interpritator.
2. Change COM Port to the port you connected to the Pico.
3. Change Pin and count of LEDs on led_strip_controller.py file at your Pico.
4. Start the application:
```sh
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
```
5. Go to localhost:8000 and enjoy!