Hello can anyone please please help me its 2:53 am and i have been trying to get this damn wifi module to work all day, and i can now connect to a site and place variables in my php database but i am using a static string at the moment and i want to place variables inside the String but its a print F an i have no experience with print F and i'm getting errors all night please help me solve this.
invalid operands of types 'const char [34]' and 'float' to binary 'operator+'
println(F("GET /Assignment/esppost.php?temp=" + temp + "&hum=" + hum + "&fan1=" + fan1 + "&fan2=" + fan2 + "HTTP/1.1"));
temp is a float as is hum, and fan 1 and 2 are ints i just want to include them in the print F
Please help i want to go to sleep but i know this will keep me awake lol.
This works fine of course :
println(F("GET /Assignment/esppost.php?temp=26&hum=50&fan1=99&fan2=75 HTTP/1.1"));