Hi All,
Im writing a firmware for my photons; I noticed something strange (I know) … apparently the setup function is no executed.
My basic code is like this
void setup() {
Serial.begin(9600);
Serial.println("Setup");
Particle.publish("Setup");
}
void loop() {
Serial.println("Loop");
Particle.publish("Loop");
delay(5000);
}
I noticed that the serial messages on each loop is printed in my terminal and also the console at particle shows the published messages, but I can see the messages from the setup function.
It’s pretty simple, but I tried in 2 photons that usually works fine and my firmware begun as simple as that.
Would be any thing that I’m missing ?