is it neccessary to put “delays()” between particle.publish?
how many particle.publish can I handle?
if ((unsigned long)(now - lastPublish) > 30000) {
//to LOSANT
Particle.publish(“temp-reading”, String(tempC), PRIVATE) ;
Particle.publish(“light-intensity”,String(readingl), PRIVATE) ;
//to ThingSpeak
Particle.publish("temperature", "{ \"1\": \"" + String(tempC) + "\"," + "\"2\": \"" + String(readingl) + "\"}", PRIVATE);
lastPublish = now;
}