I have my Photon controlling a short NeoPixel strip with some very simple code. It’s basically just calling Adafruit_NeoPixel::show() every loop(). I also have a simple pull-down button that switches the code from its initial static color to a dynamic color display. I can tell when the chip resets because the code restarts in the static mode.
This is code that has run on an Arduino Uno for months at a time without interruption/resetting.
On the Photon I have not gone for 12 hours without the chip resetting on its own. Sometimes it resets in as quickly as 5 minutes. Other times it takes longer. However, whenever I wake up in the morning, it has always reset overnight.
Normally my Particle LED is breathing cyan, of course. I have noticed that the resets correspond to the Particle LED doing one of two patterns:
flash red, then solid white, then flash green, flash cyan, and finally (after resetting) breathing cyan
flash green, then flash cyan, and (after resetting) breathing cyan
Is this perhaps related to issue #672? I am not using TCPClient, so I am guessing not? I cannot try an earlier firmware version, as I use the CLI for compilation.
I am new to Particle and web programming in general. Arduino vet trying to expand.
Thoughts? Tips? Tricks? Known issue with a fix incoming?