Merge pull request #775 from iWladi/patch-1

Update dht_lib.lua
This commit is contained in:
Terry Ellison 2015-11-18 23:34:23 +00:00
commit d762696119
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function M.read(pin)
for i = 1, 8, 1 do -- Byte[3] for i = 1, 8, 1 do -- Byte[3]
if (bitStream[i+24] > 3) then if (bitStream[i+24] > 3) then
byte_2 = byte_2 + 2 ^ (8 - i) byte_3 = byte_2 + 2 ^ (8 - i)
end end
end end