Hi Everyone,
I have been working on a school project using 2 Photon devices to monitor water pressure and toggle a water pump. I was having no issues with the project before, but for reasons I cannot understand, my code will only execute until the end of void setup, then it will crash the Photon’s firmware and blink the red SOS message (10 red blinks in between meaning “Assertion Failure”). Then after a few seconds, the photon will restart and run the program from the beginning. I have had this problem about a month or so now, and I cannot figure it out. Any information about why this is happening would be extremely helpful! My photon is currently running version 1.5.2 and runs other programs just fine. Here is a video link (iCloud Mail Drop link) showing the error happening.
and Here is a link to my code in GitHub
My code compiles just fine. So far I have tried using a different photon board and resetting my photon to factory settings.
Please let me know if I can provide any other information.
Sincerely,
Andrew Brown