summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/datalogger/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/datalogger/main.cc b/src/app/datalogger/main.cc
index f9484b5..2d8a8e6 100644
--- a/src/app/datalogger/main.cc
+++ b/src/app/datalogger/main.cc
@@ -127,6 +127,8 @@ void loop(void)
hdc1080.getTemp();
}
*/
+ hdc1080.measure();
+ arch.delay_ms(10);
kout << "HDC1080 temperature " << hdc1080.getTemp() << " degC" << endl;
kout << "HDC1080 humidity " << hdc1080.getRH() << " %H" << endl;
#endif
@@ -253,6 +255,7 @@ int main(void)
#ifdef CONFIG_driver_mpu9250
mpu9250.init();
+ mpu9250.nineAxis();
#endif
#ifdef CONFIG_driver_tsl2591