Spark's unable to flash after running program

I’ve been testing and running the program you can find here:

And after I run the program on the clientside I have to power off and power on before flashing different code onto the core or it refuses to flash. Not sure if this is my fault or a hardware issue, not the biggest problem just a bit of a pain.

I’ve been looking at your code and while I don’t exactly know why it isn’t working I think I know how to folder this issue:




for(;;) {

What I think is happening is that the for(;;); is continually looping. The function needed to maintain the cloud connection and receive new code is never called.

Let me know if the above doesn’t fix the problem

1 Like

Yep! got it! thanks alot.