Merge pull request #517 from pimoroni/helgibbons-patch-1

Add link to common files
This commit is contained in:
Hel Gibbons 2022-09-21 15:15:35 +01:00 committed by GitHub
commit fb8cde305d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,11 +75,11 @@ Reads from the (optional) particulate sensor and displays the results on screen.
## Wireless Examples
The wireless examples need `network_manager.py` and `WIFI_CONFIG.py` from the `common` directory to be saved to your Pico W. Open up `WIFI_CONFIG.py` in Thonny to add your wifi details (and save it when you're done).
The wireless examples need `network_manager.py` and `WIFI_CONFIG.py` from the [micropython/examples/common](/micropython/examples/common) directory to be saved to your Pico W. Open up `WIFI_CONFIG.py` in Thonny to add your wifi details (and save it when you're done).
For MQTT, you'll need to install `micropython-mqtt.simple` using Thonny's 'Tools' > 'Manage Packages'.
### Enviro All (MQTT)
[enviro_all_mqtt.py](enviro_all_mqtt.py)
This example reads from all the sensors on Pico Enviro+ (plus the optional particulate sensor) and posts the results into an MQTT broker.
This example reads from all the sensors on Pico Enviro+ (plus the optional particulate sensor) and posts the results into an MQTT broker.