From ef34698a0023648c60e087a01db82e7703a64436 Mon Sep 17 00:00:00 2001 From: Daniel Peter Chokola Date: Sun, 26 Feb 2023 21:48:25 -0500 Subject: [PATCH] convert & print temperature, pressure, and humidity to USB serial Enough to start hacking, adding features, and refining. --- .cproject | 55 +++-- Core/Inc/main.h | 2 +- Core/Inc/terminal.h | 24 ++ Core/Inc/util.h | 46 ++++ Core/Src/gpio.c | 2 +- Core/Src/main.c | 19 +- Core/Src/spi.c | 2 +- Core/Src/terminal.c | 136 ++++++++++ Drivers/BME280/Inc/bme280.h | 57 +++++ Drivers/BME280/Src/bme280.c | 477 ++++++++++++++++++++++++++++++++++++ hothouse-mon.ioc | 11 +- 11 files changed, 799 insertions(+), 32 deletions(-) create mode 100644 Core/Inc/terminal.h create mode 100755 Core/Inc/util.h create mode 100644 Core/Src/terminal.c create mode 100755 Drivers/BME280/Inc/bme280.h create mode 100755 Drivers/BME280/Src/bme280.c diff --git a/.cproject b/.cproject index 16623ca..1698297 100644 --- a/.cproject +++ b/.cproject @@ -24,13 +24,17 @@ @@ -59,7 +64,7 @@