Log photo adc value, not soil adc
This commit is contained in:
parent
ccdbaaf142
commit
20d98d02a0
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ int prst_sensors_read_all(prst_sensors_t *sensors) {
|
||||||
LOG_DBG("Soil: %.0f %% (%d mV)", 100 * sensors->soil.percentage,
|
LOG_DBG("Soil: %.0f %% (%d mV)", 100 * sensors->soil.percentage,
|
||||||
sensors->soil.adc_read.millivolts);
|
sensors->soil.adc_read.millivolts);
|
||||||
LOG_DBG("Photo: %u lx (%d mV)", sensors->photo.brightness,
|
LOG_DBG("Photo: %u lx (%d mV)", sensors->photo.brightness,
|
||||||
sensors->soil.adc_read.millivolts);
|
sensors->photo.adc_read.millivolts);
|
||||||
LOG_DBG("Temp: %f oC", sensors->shtc3.temp_c);
|
LOG_DBG("Temp: %f oC", sensors->shtc3.temp_c);
|
||||||
LOG_DBG("Humi: %.0f %%", 100 * sensors->shtc3.rel_humi);
|
LOG_DBG("Humi: %.0f %%", 100 * sensors->shtc3.rel_humi);
|
||||||
LOG_DBG("--------------------------------------------------");
|
LOG_DBG("--------------------------------------------------");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue