mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Print "Yún" and not "Y�n"; "degrees C" to "ºC"
Hi, just got a Yún few days ago and noticed that when testing stuff, just cosmetic. Thanks.
This commit is contained in:
@ -102,11 +102,11 @@ void loop() {
|
|||||||
// convert the millivolts to temperature celsius:
|
// convert the millivolts to temperature celsius:
|
||||||
float temperature = (voltage - 500) / 10;
|
float temperature = (voltage - 500) / 10;
|
||||||
// print the temperature:
|
// print the temperature:
|
||||||
client.print("Current time on the Yún: ");
|
client.print("Current time on the Yún: ");
|
||||||
client.println(timeString);
|
client.println(timeString);
|
||||||
client.print("<br>Current temperature: ");
|
client.print("<br>Current temperature: ");
|
||||||
client.print(temperature);
|
client.print(temperature);
|
||||||
client.print(" degrees C");
|
client.print(" °C");
|
||||||
client.print("<br>This sketch has been running since ");
|
client.print("<br>This sketch has been running since ");
|
||||||
client.print(startString);
|
client.print(startString);
|
||||||
client.print("<br>Hits so far: ");
|
client.print("<br>Hits so far: ");
|
||||||
|
Reference in New Issue
Block a user