how do i take floating varables and put them in a variable?
mqttout = ("Temperature: % ,Humidity: % , Pressure: %\n", temp, hum, pres);
this is giving me a backwards question mark.
i'm rying to do this so i can input this into the line below inplace of (temp)
uint16_t packetIdPub1 = mqttClient.publish(MQTT_PUB_TEMP, 1, true, String(temp).c_str());