Try this
void setup()
{
Serial.begin(115200);
float temp = 1.2;
float hum = 3.4;
float pres = 45.6;
Serial.printf("Temperature: %.2f ,Humidity: %.2f , Pressure: %.3f \n", temp, hum, pres);
}
void loop()
{
}
Try this
void setup()
{
Serial.begin(115200);
float temp = 1.2;
float hum = 3.4;
float pres = 45.6;
Serial.printf("Temperature: %.2f ,Humidity: %.2f , Pressure: %.3f \n", temp, hum, pres);
}
void loop()
{
}