I accidentally uploaded an infinite loop to a Photon. The code was to turn on the LED Red. Not it just keeps turning the LED red. I am not able to erase that code no matter what.
I have tried pressing Setup and Reset, leaving the reset and keep pressing the setup. It did not work.
I tried long pressing Setup(about 10 seconds) until it was rapidly blinking blue. It did not work.
Is there a way to do Factory reset or remove the uploaded code ? When it is connected to the cloud, it automatically runs the code and I am not able to do anything with it now.