-
Sat 2021.04.24
From 1st snippet:
L32 ws.send(oled.value);
is returning the value of an Html element defined at:
L19 var oled = document.getElementById('oled');I don't believe a WebSocket object returns a temperature in it's payload.
Would you post the contents of L20 evt please. . . and/or link to datasheet/tutroial that demos that task.
Is there an additional snippet with a function like getTemp()?
p.116
https://www.espruino.com/datasheets/STM32F411xE.pdf
50C seems to be on the low end of their test cal ranges
Forgive me on: 'UTF-8 character encoding (hungarian's accented characters)'
I concur with your observation for the '?' char and will have to defer to others for an answer. Your snippets will provide that detail needed for them to comment on.In the mean time: Does this assist at all?
https://www.espruino.com/Fonts#character-sets
'Espruino does not support unicode natively'
Hi Robin,
Here is the javascript code with html variable and webserver function.
Chrome received html code