Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Diff: source/main.cpp
- Branch:
- testing-ignore
- Revision:
- 23:bf9c1dd2b5cb
- Parent:
- 16:482d8f81d6f3
- Child:
- 24:7539258b015c
diff -r 482d8f81d6f3 -r bf9c1dd2b5cb source/main.cpp --- a/source/main.cpp Wed Aug 29 17:08:08 2018 +0000 +++ b/source/main.cpp Mon Sep 17 12:46:41 2018 +0000 @@ -84,7 +84,7 @@ mems.enableAxes(X_axis); mems.enableAxes(Y_axis); mems.enableAxes(Z_axis); - mems.setODR(ODR_50Hz); + mems.setODR(ACC_ODR_SLEEP_MODE); //mems.setScale(_16g); mems.setScale(_8g); mems.int1Setup(0x40); // IntActivity 1 driven to INT1 pad