Commit 2e2742c2 authored by zeroday's avatar zeroday
Browse files

Merge pull request #212 from ksankark/patch-1

Update irsend.lua
parents 3b80bc44 a58f50eb
......@@ -57,7 +57,7 @@ do
pulse(pin, NEC_HDR_MARK)
waitus(NEC_HDR_SPACE)
-- sequence, lsb first
for i = 0, 31 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
......
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