mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
Fix Typo in ds18b20-web.lua (#3561)
This commit is contained in:
parent
193fe3593e
commit
4e3990d81c
@ -11,7 +11,7 @@ local function readout(temps)
|
||||
"<b>ESP8266</b></br>"
|
||||
|
||||
for addr, temp in pairs(temps) do
|
||||
resp = resp .. string.format("Sensor %s: %s ℃</br>",
|
||||
resp = resp .. string.format("Sensor %s: %s ℃</br>",
|
||||
('%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X '):format(addr:byte(1,8)), temp)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user