[CLOSED] Red flashing but no additional servers or clients used

Hello Spark Community!
Wondering if you all have any inputs to my problem- I have this code that was working perfectly just until yesterday, but now when I try to flash it, the led flashes red after some thinking. Similar previous problems seems to be caused from adding UDP or TCP clients, but the only big thing in my code are two arrays, each at 600. It’s worked before though… I did try to add a section using a modulus operator ( variable % 5 == 0 ) condition but that didn’t execute as smoothly as I wanted (I’m assuming spark syntax can handle the modulus), so I commented that out to work on later- technically it’s the same code that worked before, but the red flash!
Any comments of suggestions regarding the red flash (I’ve had to factory reset every instance of the red flash), or using a modulus operator for future reference would be awesome. Thank you! @Dave

Hi @jkkim93

You have two threads going on this one issue, so let’s just pick one and go with it.

Can you tell us how many red flashes you are seeing? You should see SOS (…—…) followed by a number of flashes, followed by SOS again. It is the number of flashes that tells us the error code.

thanks @bko, a series of red flashes, then one red flash, then a series of red again- then loops back to white green blue then red. Does this help a little bit? I wasn’t aware there was a code embedded in the number of flashes. Thanks!

Hi @jkkim93

One red flash is a hard fault, typically caused by trying to read memory from a null pointer or other similar programming problem.

If you can post your code (let’s go back to the other thread, please!), then either @peekay123o or I can help you more.

1 Like

I addressed this issue in the other thread. Let’s close this one.

1 Like