I am trying to light some LEDs as soon as possible after the Particle Core has been powered on (function test).
However, sometimes it takes more than 10 seconds until the first instruction in
setup() is processed. I assume this is because the Core tries to connect to the network first. How can I do something before that? Is
setup() the right place?