Move tube to separate file

This commit is contained in:
cryptogopher
2022-10-09 15:29:30 +02:00
parent 21512bc4f4
commit 374a72fb07
3 changed files with 24 additions and 20 deletions

12
bme280.ino Normal file
View File

@@ -0,0 +1,12 @@
#include "Seeed_BME280.h"
BME280 sensor;
void initTemperature() {
sensor.init();
}
void readTemperature() {
// TODO: add hysteresis
temperature = sensor.getTemperature();
}