Thanks for the response. In answer to your questions
My Particle firmware is 0.4.7 which is the latest, do you think it would be worth going back to 0.4.6 to try?
I tried the Knob example again (I knew it had worked in the past) and it works if there is only a Knob modulo. If fact with this in mind I have noticed that as soon as I add another modulo object at the top of the code then it may not compile and the error is not declared in this scope
modmotor.cpp:5:24: error: variable or field 'onJoystickChanged' declared void
void onJoystickChanged(JoystickModulo &j);
modmotor.cpp:5:24: error: 'JoystickModulo' was not declared in this scope
I have tried the unplug/plugin restart but still solid cyan
I have used Spark/Particle for some time so I am confident the program is being flashed, blinks purple, then green as it reconnects and then breathes cyan when running. Once there is the solid cyan fault stage, even if you restart it connects and then solid cyan again. In this state it will not respond to flashing again you have to restart in safe mode to be able to flash again.
It would appear that any code with two modules is a problem