1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01: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:
Iván 2015-03-02 23:27:55 +01:00
parent 4380e2930e
commit e02689e70e

View File

@ -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&uacuten: ");
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(" &degC");
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: ");