Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
61562b45
"app/vscode:/vscode.git/clone" did not exist on "64bbf006898109b936fcc09478cbae9d099885a8"
Commit
61562b45
authored
Aug 06, 2017
by
wolfg
Committed by
Marcel Stör
Aug 05, 2017
Browse files
Fix typo in code sample (#2063)
parent
e09e830d
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/en/modules/hmc5883l.md
View file @
61562b45
...
...
@@ -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
hmc5883
1
.
setup
()
hmc5883
l
.
setup
()
local
x
,
y
,
z
=
hmc5883l
.
read
()
print
(
string.format
(
"x = %d, y = %d, z = %d"
,
x
,
y
,
z
))
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment