Electron stays in Listening Mode

Hi,
I just got my Electron board and configured it online and then uploaded the blink LED sketch via particle-cli and it seems to work, but the LED is on for like half a second then the board breathes white (I removed the SIM to avoid data usage) and then goes straight back into Listening Mode.
I updated the System Firmware to 0.5.2, same result after the update.

Thank you!

silly mistake, forgot to

SYSTEM_MODE(SEMI_AUTOMATIC);

do I need to add the following in the loop() ?

Particle.disconnect(); 

It works without, just want to make sure…

@kosmo, by default in SEMI_AUTOMATIC mode the Electron will not connect to the cloud so you don’t need Particle.disconnect() unless in your code you use Particle.connect() and want to disconnect again. :wink:

1 Like