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
d04d024b
Commit
d04d024b
authored
Dec 14, 2022
by
Josef Fröhle
Committed by
Marcel Stör
Feb 25, 2024
Browse files
Fix Typo in ds18b20-web.lua (#3561)
parent
f5ad76ac
Changes
1
Show whitespace changes
Inline
Side-by-side
lua_modules/ds18b20/ds18b20-web.lua
View file @
d04d024b
...
@@ -11,7 +11,7 @@ local function readout(temps)
...
@@ -11,7 +11,7 @@ local function readout(temps)
"<b>ESP8266</b></br>"
"<b>ESP8266</b></br>"
for
addr
,
temp
in
pairs
(
temps
)
do
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
)
(
'%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X '
):
format
(
addr
:
byte
(
1
,
8
)),
temp
)
end
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