RemoteDebugApp icon indicating copy to clipboard operation
RemoteDebugApp copied to clipboard

"27" is not shown in the WebApp

Open mwerski opened this issue 6 years ago • 0 comments

As stated in the subject, this is the output from the WebApp:

(I t:6881220ms) (BMEauslesen)(C1)     Temperatur:       .38C (.44)
--
(I t:6891218ms) (BMEauslesen)(C1)     Temperatur:       .38C (.38)

whereas a telnet client shows the following output:

(I t:6901221ms) (BMEauslesen)(C1)     Temperatur:       27.42°C (27.38)
--
(I t:6911212ms) (BMEauslesen)(C1)     Temperatur:       27.42°C (27.42)

(other values are showing up as expected)

This is the relevant part of the sketch:

      dtostrf(temp,4,2,str_tmp);
      dtostrf(temp_last,4,2,str_tmpl);
      DEBUG_I("    Temperatur:       %s°C (%s)\n",str_tmp,str_tmpl);

mwerski avatar Jul 11 '19 11:07 mwerski