I have recentally started adding code to an existing program for a LED Matrix I am making. I adjusted a few things on the code, but then when trying to toggle the WiFi searching on the Photon (I needed to flash some new code) the Photon displayed an error message: the SOS, then 10 red blinks, then SOS. I looked on the help page, and it said that the problem is “Assertion Failure”. I could not find a fix, and am asking for help. Whenever I power on the Photon, it stays offline, as per the code I have for the WiFi switch. However, whenevert I toggle the switch, the Photon displays the SOS, and powers off soon after. I have tried restarting the switch several times, and there is no change. The code will be linked below, and the only thing that I altered before the SOS was a bit of code on line 17, which is explained on the same line.
Thank you for your help!
I also just tried to compile as well, and it said that it could not compile. Is there a limit to how much code I can have? Link to code
It’s a lot of code, would it be better to put it into a GitHub? Also, when I tried to verify the code after I got the SOS error, it said for me to check my code, but I did not get an error message saying what was wrong…
Now, for some reason, I can’t connect the photon to the Internet at all… When I tried, it flashed green as usual, but then started breathing green. I tried doing the connection a few times, with no change. However, at one time, I did get the SOS message and 10 blips. As I type this, I had the photon on and not registering to the Internet, just breathing white, and it just started the SOS message again. What do I do?!