Skip to content

Commit eafacc8

Browse files
authored
init fix
1 parent c58bb7d commit eafacc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Arduino_SensorKit_LIS3DHTR.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ SensorKit_LIS3DHTR::SensorKit_LIS3DHTR(){}
55
bool SensorKit_LIS3DHTR::begin(){
66
LIS.begin(Wire);
77
delay(100);
8+
LIS.openTemp();
89
LIS.setOutputDataRate(LIS3DHTR_DATARATE_50HZ);
10+
LIS.setHighSolution(true);
911
return LIS;
1012
}
1113

0 commit comments

Comments
 (0)