Quantcast
Channel: ThingSpeak IoT Community - Forum: Arduino
Viewing all articles
Browse latest Browse all 172

piajola on Upload two values to ThingSpeak with a Arduino GSM Module?

$
0
0

Hi ICar,

You say

int Wert1 = 0; //Startwert auf 0 gesetzt

google helped me saying you say start with value=0
but you never made it greater than 0
and you check

if (!client.connected() && (millis() - lastConnectionTime > updateThingSpeakInterval) && neuWert == true && Wert1 > 0){

to run your routine void updateThingSpeak(String tsData) that will never run

 

Also you can do (semi pseudo-code)

analogValue = "field1=" + str(Wert1) + "field2=" + str(Wert2)
...
...
updateThingSpeak(analogValue);

 

Hope this is some helpWink

Good luck (&& | ask again)


Viewing all articles
Browse latest Browse all 172

Trending Articles