@mrOmatic Currently your code doesn’t run until after it has a connection to the Cloud; have you gotten it through the Wi-Fi connection and still don’t see a connection?
Ok figured it out. Combination of impatience and slightly misleading UI.
I was expecting it to work once the web UI said “Ready” and then resetting the Spark as a further test as I assumed that the firmware was already loaded.
The solution was just to wait it out and eventually the Spark reset itself and when it came back up it was working as expected.
I think this will be a common trap for many people used to USB based firmware flashing.
Can I suggest a change in the UI/feedback from
Compiling code…
Flash successful! Please wait a moment while your Core is updated…
Ready.
to
Compiling code…
Flash upload successful! Please wait a moment while your Core is updated…
Updating Core. Core will restart automatically when done.
Would it be possible to have another line of text that something like “Core back online!” in the web IDE after a successful flash and reboot? It’s probably non-trivial to implement, but it would be nice for remote programming (when you aren’t in the same room, building, zip code) as the Core.