Pages: [1]   Go Down
Author Topic: inet.httpGET - submitting sensor data in char* path  (Read 978 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Now i got one more problem with inet.httpGET char*path below. the following syntax is working

inet.httpGET("", 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("", 80, "/pushingbox?devid=v****8&Temperature=?Temp?", msg, 0);

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

Thank you

Pages: [1]   Go Up
Jump to: