Totem of pollution

I see.

Another thing. There is no pin 8 on a Photon :wink:

When I try to put in set up particle.publish(); for the barometer sensor they i get no data

Hi @E404,

Particle variables are declared in setup; Particle publish calls can be where you want them (but you might need to wait for the cloud to be fully up in setup) and are rate limited.

Please read this section of the doc, particularly the examples in the sidebar:

https://docs.particle.io/reference/firmware/photon/#cloud-functions

4 Likes