Hmm, where does reading
come from?
I doubt this really compiles without error.
If you are using analogRead(tempPin)
to acquire your reading
then you should not use pinMode(tempPin, INPUT)
- analogRead()
sets its own pinMode()
internally.
Also try using the modern syntax
Particle.variable("temprature", temprature);
Particle.variable("tempratureF", tempratureF);
I’m not sure if this really violates the limit as it adheres to the burst rate of 4 events over 4 seconds, but I’d still combine the readings into one event and publish even less frequently (e.g. 1 per 30sec).