[Issue #5] - Adding setup instruction step to install all dependencies via requirements.txt
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-09-08 21:46:04 -04:00
parent 2d2e31ec29
commit b33d3d4cdb
+4 -3
View File
@@ -46,11 +46,12 @@ These are not necessary to run the app, but can be useful for testing and/or fla
1. This has been tested with MicroPython 1.29, but other versions should work. 1. This has been tested with MicroPython 1.29, but other versions should work.
4. Clone this git repository: `git clone https://git.metaunix.net/BitGoblin/pico-time`. 4. Clone this git repository: `git clone https://git.metaunix.net/BitGoblin/pico-time`.
5. `cd` into the repo: `cd pico-time`. 5. `cd` into the repo: `cd pico-time`.
6. Copy `config.example.py` to `config.py` and edit the settings to match your environment. 6. Install Python dependencies via mpremote: `xargs mpremote mip install < requirements.txt`.
7. Copy the Python code over to the Pico: 7. Copy `config.example.py` to `config.py` and edit the settings to match your environment.
8. Copy the Python code over to the Pico:
1. `mpremote cp main.py :main.py` 1. `mpremote cp main.py :main.py`
2. `mpremote cp config.py :config.py` 2. `mpremote cp config.py :config.py`
8. Reset the Pico: `mpremote reset` 9. Reset the Pico: `mpremote reset`
If it worked you should see the display show a message about connecting to WiFi, then eventually a readout of the current temperature to the SSD1306 display. If it failed, you can monitor the app via `mpremote repl` or using an IDE like [Thonny](https://thonny.org/). If it worked you should see the display show a message about connecting to WiFi, then eventually a readout of the current temperature to the SSD1306 display. If it failed, you can monitor the app via `mpremote repl` or using an IDE like [Thonny](https://thonny.org/).