Skip to content

Commit 2d7dd96

Browse files
committed
update test.ts
1 parent 1fbad7f commit 2d7dd96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Date: 2019.Jul
88
## Basic usage
99
```
1010
basic.forever(function () {
11-
serial.writeNumbers(LIS2MDL.get())
11+
serial.writeValue("x", LIS2MDL.magneticForce(LIS2MDL.Dimension.Strength))
1212
basic.pause(1000)
1313
})
1414
```

test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
basic.forever(function () {
2-
serial.writeNumbers(LIS2MDL.get())
2+
serial.writeValue("x", LIS2MDL.magneticForce(LIS2MDL.Dimension.Strength))
33
basic.pause(1000)
44
})

0 commit comments

Comments
 (0)