Added scaffolding for DS18B20
This commit is contained in:
@@ -116,7 +116,9 @@ void read_from_dht22() {
|
||||
ten_minute_average.time.myt_month = timeinfo->tm_mon;
|
||||
ten_minute_average.time.myt_year = timeinfo->tm_year;
|
||||
|
||||
// TODO check this conversion just works
|
||||
// TODO: Consider rounding this number - although, .1 of a degree C
|
||||
// no one is going to miss that. Probably the calculation require to
|
||||
// do the rounding would affect the temperature that much anyways haha
|
||||
ten_minute_average.temp = temperature_tmp;
|
||||
ten_minute_average.rh = relative_humidity_tmp;
|
||||
ESP_LOGW(TAG, "ten_min_avg.temp %" PRIi16 ", .rh %" PRIu16, ten_minute_average.temp, ten_minute_average.rh);
|
||||
|
||||
Reference in New Issue
Block a user