diff --git a/README.md b/README.md index 79c8bc6..8c0c5c4 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ and if you have a picoprobe or RasPi debug probe installed (or other CMSIS-DAP c ``` make flash ``` -or, you can hold down the BOOT button on the Pico W while plugging it in. It will appear as a USB drive. Then copy the ensaht.uf2 file from the build/ directory to that USB drive. It'll take a second, then it'll disappear. You may need to manually reset the Pico (or unplug/replug it). Open a serial terminal (I used to recommend minicom until I found [tio](https://github.com/tio/tio), which is much better), probably something like +or, you can hold down the BOOT button on the Pico W while plugging it in. It will appear as a USB drive. Then copy the ensaht.uf2 file from the build/ directory to that USB drive. It'll take a second, then it'll disappear. You may need to manually reset the Pico (or unplug/replug it). Open a serial terminal (I used to recommend minicom until I found tio, which is much better), probably something like ``` tio /dev/ttyACM0 diff --git a/src/aht.c b/src/aht.c index e523ae3..08e4009 100644 --- a/src/aht.c +++ b/src/aht.c @@ -1,6 +1,3 @@ -// SPDX-License-Identifier: MIT -// SPDX-FileCopyrightText: 2026 A.M. Rowsell - #include "aht.h" #include "hardware/i2c.h" diff --git a/src/main.c b/src/main.c index e3e41bf..bc623f0 100644 --- a/src/main.c +++ b/src/main.c @@ -18,14 +18,13 @@ * the readings to Adafruit IO over MQTT using the Pico W. ******************************************************************************/ +#include "aht.h" +#include "bmp.h" +#include "credentials.h" +#include "ens.h" #include "hardware/gpio.h" #include "hardware/i2c.h" -#include "include/aht.h" -#include "include/bmp.h" -#include "include/credentials.h" -#include "include/ens.h" -#include "include/mqtt.h" -#include "include/opt4048.h" +#include "mqtt.h" #include "pico/cyw43_arch.h" #include "pico/stdlib.h" // IWYU pragma: keep #include