I am working on porting a stepper motor shield, and the SW is now compiling without error, but after flashing this particular SW the Spark enters a white pulsing state. The only way out is to do a factory reset, and then I can load other SW no problem. So I don’t think there is something wrong with the Spark, more likely the SW.
I put my .ino, .cpp, and .h files here GitHub files, if anyone would like to have a glance a the code or give any other hints to what could be wrong.
Appreciate any help!