Topic: Printing Temperature Data
I am using ESP8266, BME280, and Arduino UNO together to print temperature data on my phone screen.
For that, I am using the following code.
char str1 = " °C";
Temperature = BME280.readTemperature();
sprintf (RemoteXY.Text_Temp, "%f %s", Temperature, str1);
In the application, I am using Text string.
And in output, I am getting the following : ? °C
How can I solve this issue and get actual temperature value instead of ?
Thank you in advance.