0 votes
asked in ESP8266 WiFi Color Kit by (160 points)
Changing "bool IS_METRIC = true"  to "bool IS_METRIC = false;"  in settings.h dose not work.

1 Answer

0 votes
answered by (9k points)

Hi DCFYI411

Does nothing change? At least the unit should change from °C to °F? Can you link to a screenshot of your screen after changing IS_METRIC = false?

This code lines should make sure of the change:

WundergroundConditions *conditionsClient = new WundergroundConditions(IS_METRIC);
String degreeSign = "°F";
if (IS_METRIC) {
   degreeSign = "°C";
}

Daniel - ThingPulse

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...