Skip to content

Commit 163d0a4

Browse files
authored
Update KX022.js
1 parent e45a144 commit 163d0a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

KX022.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function LIS2MDL(options,r,w) {
2727
this.w = w;
2828
if (this.r(REG.WHO_AM_I,1)[0]!=20) throw new Error("WHO_AM_I incorrect");
2929
//this.w(REG.CNTL1, 0x50); //config 0 1 0 1 0 0 0 0 OLD
30+
print("setting changes made");
3031
this.w(REG.CNTL1, 0x10); //config 0 0 0 1 0 0 0 0 NEW
3132
var res = new DataView(this.r(REG.CNTL1,1).buffer);
3233
print(res.getInt8(0,1));

0 commit comments

Comments
 (0)