Code Not Getting Processed

I have tried to get my code on an Argon to run, however, I can’t get any output voltage on a pin even with the following code:


void setup() {;

  pinMode(D5, OUTPUT);

void loop() {
  digitalWrite(D5, HIGH);


From my reading, using the SYSTEM_MODE(SEMI_AUTOMATIC) with with allow the code in the loop() function to run without the device being connected to the internet. Instead, I get a slow blink/glowing green light on the Argon, and the device does not seem to run the code in the loop() function. I have even tried different pins, and outputting something to Serial to see if I could get feedback that the device is running the code to no avail.

Any suggestions?


You must call Particle.disconnect() before turning off the Wi-Fi manually. Have you checked out the docs for;? It can be a bit finicky.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.