Commit 61562b45 authored by wolfg's avatar wolfg Committed by Marcel Stör
Browse files

Fix typo in code sample (#2063)

parent e09e830d
......@@ -20,7 +20,7 @@ temperature multiplied with 10 (integer)
```lua
local sda, scl = 1, 2
i2c.setup(0, sda, scl, i2c.SLOW) -- call i2c.setup() only once
hmc58831.setup()
hmc5883l.setup()
local x,y,z = hmc5883l.read()
print(string.format("x = %d, y = %d, z = %d", x, y, z))
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment