Compare commits

..

No commits in common. "914b76ba8b13495311ff5468e15cb21c92fa808a" and "f04289c98bb4f9b11c7b501ffd47d487e6a3b329" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View file

@ -45,7 +45,7 @@ and if you have a picoprobe or RasPi debug probe installed (or other CMSIS-DAP c
``` ```
make flash 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 tio /dev/ttyACM0

View file

@ -1,6 +1,3 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2026 A.M. Rowsell <amr@frzn.dev>
#include "aht.h" #include "aht.h"
#include "hardware/i2c.h" #include "hardware/i2c.h"

View file

@ -18,14 +18,13 @@
* the readings to Adafruit IO over MQTT using the Pico W. * 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/gpio.h"
#include "hardware/i2c.h" #include "hardware/i2c.h"
#include "include/aht.h" #include "mqtt.h"
#include "include/bmp.h"
#include "include/credentials.h"
#include "include/ens.h"
#include "include/mqtt.h"
#include "include/opt4048.h"
#include "pico/cyw43_arch.h" #include "pico/cyw43_arch.h"
#include "pico/stdlib.h" // IWYU pragma: keep #include "pico/stdlib.h" // IWYU pragma: keep
#include <boards/pico_w.h> #include <boards/pico_w.h>