I used System.sleep(SLEEP_MODE_DEEP, 1 * 60);
in my code after following this tutorial,
I believe due to this my particle photon sleeps at the time of upload and I am not able to flash firmware.
What should I do, I have tried reset and change device name and all that but the old setting still persists it comes online and publishes code to thingspeak as per old settings .and I am not able to flash new code.
Please help