Fix typo
This commit is contained in:
parent
5ba1a6e934
commit
90839f8956
|
@ -18,7 +18,7 @@ temperature multiplied with 10 (integer)
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
```lua
|
```lua
|
||||||
hmc5883.init(1, 2)
|
hmc58831.init(1, 2)
|
||||||
local x,y,z = hmc5883l.read()
|
local x,y,z = hmc5883l.read()
|
||||||
print(string.format("x = %d, y = %d, z = %d", x, y, z))
|
print(string.format("x = %d, y = %d, z = %d", x, y, z))
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue