Publishing 10 variables with Photon

Hi there

Is it possible to publishing up to 10 variables inside the main loop with Photon ?
Thank you.

I’m pretty new to DeviceOS so I hope someone else can correct me if I’m wrong here.

I use Particel.Publish from the main loop. I compose a json string for the message. The JSON has more than 10 variables published in one message.

If you mean Particle.variable, then no need to publish in the main loop. Just define in the setup(){}. I’ have more than 10 Particle.variable[s] defined and it seems to work just fine.

Thank you very much for your suggestion.