You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • How about changing your existing callback: (a) {Temp = a.temp.toString();Humidity = a.rh.toString();});

    to: (a) {
      Temp = a.temp.toString();
      Humidity = a.rh.toString();
      sendForm(Temp, Humidity);

    So now you send the form as soon as you have the information ready?


Avatar for Gordon @Gordon started