Skip to content

Commit c890598

Browse files
authored
Add files via upload
Set the K temp back to default if no connection was made to the weather server.
1 parent bc51c87 commit c890598

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Neopixel_Infinity_Mirror_Clock.ino

+1
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ String httpGETRequest(const char* serverName) {
701701
else {
702702
Serial.print(F("Error code: "));
703703
Serial.println(httpResponseCode);
704+
temperature_K = 10; // Set the K temp back to default if no connection was made.
704705
}
705706
http.end(); // free resources
706707
return payload;

0 commit comments

Comments
 (0)