Do the "particle publishes" needs delay between them?

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;
}

You limited to a 1 publish per second or 4 publishes in 1 second with a 4 second recovery period before another publish will be accepted.

I started adding a 1-second delay between publishes just to follow the rules.

2 Likes