before I soldered my project, I had my photon powered via USB where I would read A0 send it to the cloud and goto sleep for 60sec.
I added this button so when it’s press, you stay connected to wifi in loop so I could reflash it.
That is a patch so it does not go into sleep mode and lose my wifi and can’t program it.
well that button was working fine and for some reason it does not anymore. I am stuck and can’t flash it anymore! The particle still send data every 1min and goes to sleep. That works but I can’t reflash it. It’s not connected long enough to wifi for me to flash it.
I change the code to use external antenna but I need recommendation to actually flash my new code.
I also change the button routine to make it more robust.
My assembly is all done and USB is not accessible. But I guest I will have to take it apart.
What do I do?
yellow light and flash it?
> # how to compile and flash a directory of source code to your device > $ particle flash 0123456789ABCDEFGHI my_project
I tried all of them and don’t know how to do it, seems that I need the files (.bin) on my computer.
it can’t find my fille .ino
tried flashing tinker but it’s offline so that yellow light is not good for that.
even if I hold setup for 3 sec, I start the wifi process over but once connected to wifi it goes back to sleep again…