For upload tools. (removed " [[ " tags in the first line.)
It can't upload with many luatools. Because "[[" and "]] tags using by file.write function
This commit is contained in:
parent
bce686a8ed
commit
3e645a09b4
|
@ -1,9 +1,9 @@
|
||||||
--[[
|
--'
|
||||||
-- 18b20 one wire example for NODEMCU
|
-- 18b20 one wire example for NODEMCU
|
||||||
-- NODEMCU TEAM
|
-- NODEMCU TEAM
|
||||||
-- LICENCE: http://opensource.org/licenses/MIT
|
-- LICENCE: http://opensource.org/licenses/MIT
|
||||||
-- Vowstar <vowstar@nodemcu.com>
|
-- Vowstar <vowstar@nodemcu.com>
|
||||||
--]]
|
--'
|
||||||
|
|
||||||
pin = 9
|
pin = 9
|
||||||
ow.setup(pin)
|
ow.setup(pin)
|
||||||
|
@ -53,4 +53,4 @@ else
|
||||||
else
|
else
|
||||||
print("CRC is not valid!")
|
print("CRC is not valid!")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue