diff --git a/ensaht.c b/ensaht.c index 56ee70a..93cc3ad 100644 --- a/ensaht.c +++ b/ensaht.c @@ -1,8 +1,26 @@ +/****************************************************************************** + * _ _ + * ___ _ __ ___ __ _| |__ | |_ + * / _ \ '_ \/ __|/ _` | '_ \| __| + * | __/ | | \__ \ (_| | | | | |_ + * \___|_| |_|___/\__,_|_| |_|\__| + * + * Program Name: ensaht + * Author: A.M Rowsell + * License: MIT License (Free use, modification, and distribution permitted + * as long as the original copyright notice is included. Provided + * "AS IS" without warranty). + * + * Description: Reads environmental data (temperature, humidity, AQI, TVOC, + * eCO2, EtOH) via I2C from AHT and ENS sensors and publishes + * the readings to Adafruit IO over MQTT using the Pico W. + ******************************************************************************/ + #include "hardware/gpio.h" #include "hardware/i2c.h" #include "mqtt.h" #include "pico/cyw43_arch.h" -#include "pico/stdlib.h" +#include "pico/stdlib.h" // IWYU pragma: keep #include #include #include