I have a simple code:
float tempC = getTemperature(i);
String api = GetAddressToString(devAddr[i]);
client.add(api, tempC);
When I run a check, I get the following message:
no matching function for call to 'Ubidots::add(String&, float&)'
What kind of variable type should I use in this case? When I type static label
client.add("Temp1", tempC)
the code is working fine. How can i write a dynamic code?
Thanks!