Arduino Forum

Products => Arduino GSM Shield => Topic started by: nchstp30 on May 14, 2013, 07:10 pm

Title: inet.httpGET - submitting sensor data in char* path
Post by: nchstp30 on May 14, 2013, 07:10 pm
Now i got one more problem with inet.httpGET char*path below. the following syntax is working

inet.httpGET("api.pushingbox.com", 80, "/pushingbox?devid=v****8&Temperature=30.65", msg, 0);

But I need to put a variable in place of 30.65 in a void loop() as in the following code

float Temp;

void loop()
{
Temp  =  analogRead(tempPin);
inet.httpGET("api.pushingbox.com", 80, "/pushingbox?devid=v****8&Temperature=?Temp?", msg, 0);
delay(1000);
}

What should i place instead of ?Temp? in above line?

Thank you
--Santhosh