We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e09e830 commit 61562b4Copy full SHA for 61562b4
docs/en/modules/hmc5883l.md
@@ -20,7 +20,7 @@ temperature multiplied with 10 (integer)
20
```lua
21
local sda, scl = 1, 2
22
i2c.setup(0, sda, scl, i2c.SLOW) -- call i2c.setup() only once
23
-hmc58831.setup()
+hmc5883l.setup()
24
local x,y,z = hmc5883l.read()
25
print(string.format("x = %d, y = %d, z = %d", x, y, z))
26
```
0 commit comments