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
2e2742c2
Commit
2e2742c2
authored
Feb 13, 2015
by
zeroday
Browse files
Merge pull request #212 from ksankark/patch-1
Update irsend.lua
parents
3b80bc44
a58f50eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
lua_examples/irsend.lua
View file @
2e2742c2
...
...
@@ -57,7 +57,7 @@ do
pulse
(
pin
,
NEC_HDR_MARK
)
waitus
(
NEC_HDR_SPACE
)
-- sequence, lsb first
for
i
=
0
,
3
1
do
for
i
=
31
,
0
,
-
1
do
pulse
(
pin
,
NEC_BIT_MARK
)
waitus
(
isset
(
code
,
i
)
and
NEC_ONE_SPACE
or
NEC_ZERO_SPACE
)
end
...
...
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