Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04416550ae | |||
| c31a914006 |
@@ -44,13 +44,14 @@ These are not necessary to run the app, but can be useful for testing and/or fla
|
|||||||
2. Connect your Pico to your PC via a micro-USB to USB type-A cable.
|
2. Connect your Pico to your PC via a micro-USB to USB type-A cable.
|
||||||
3. [Flash your Raspberry Pi Pico with MicroPython](https://docs.micropython.org/en/latest/rp2/tutorial/reset.html).
|
3. [Flash your Raspberry Pi Pico with MicroPython](https://docs.micropython.org/en/latest/rp2/tutorial/reset.html).
|
||||||
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-thermo`.
|
||||||
5. `cd` into the repo: `cd pico-time`.
|
5. `cd` into the repo: `cd pico-time`.
|
||||||
6. Install Python dependencies via mpremote: `mpremote mip install ./package.json`.
|
6. Install Python dependencies via mpremote: `mpremote mip install ./package.json`.
|
||||||
7. Copy `config.example.py` to `config.py` and edit the settings to match your environment.
|
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:
|
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`
|
||||||
|
3. `mpremote cp lib/ :lib/`
|
||||||
9. Reset the Pico: `mpremote reset`
|
9. Reset the Pico: `mpremote reset`
|
||||||
|
|
||||||
There's also `./install.sh` if you'd like to run steps 6-9 more quickly.
|
There's also `./install.sh` if you'd like to run steps 6-9 more quickly.
|
||||||
|
|||||||
Reference in New Issue
Block a user