Skip to content

Commit c83d105

Browse files
authored
Update KX022.js
1 parent d149551 commit c83d105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

KX022.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ function LIS2MDL(options,r,w) {
4040
//tt
4141
LIS2MDL.prototype.init = function() {
4242
this.w(REG.CNTL1, 0x10); //config 0 0 0 1 0 0 0 0 NEW
43+
this.w(REG.LP_CNTL, 0x0B); //NEW
44+
this.w(REG.CNTL1, 0x90); //NEW config 10010000
4345
};
4446

4547
//tt

0 commit comments

Comments
 (0)