When I tried to compile my code, the error message:
error: invalid operands of types 'const char [36]' and 'float' to binary 'operator+'
Blynk.notify("Your car's current temperature is: " + avgTemp + "°F, your veggies will go bad in 40 minutes. It will take approximately " + t + " minutes to walk back to your car.");
due to the following code segment:
if(showInfo){
Blynk.notify("Your car's current temperature is: " + avgTemp + "°F, your veggies will go bad in 40 minutes. It will take approximately" + t + " minutes to walk back to your car.");
showInfo = false;
}
Can anyone give me a hint on how to solve this?