Hi there!
I have a Boron LTE - I’m in Australia so the built-in SIM doesn’t work, and I am waiting for a Telstra-network SIM from M2M. I have gone through the setup and update process using the Android app, but the Boron isn’t fully registered yet because it isn’t online.
In the meantime, I’m trying to write some firmware in Workbench. I have a very simple “hello world” program as follows:
SYSTEM_MODE(MANUAL);
int led1 = D6;
void setup() {
Serial.begin(115200);
pinMode(led1, OUTPUT);
}
void loop() {
Serial.println("Hello world");
digitalWrite(led1, HIGH);
delay(1000);
digitalWrite(led1, LOW);
delay(1000);
}
I’ve flashed this successfully to the board using the Particle: Compile application (local)
and Particle: Flash application (local)
commands. Both commands complete successfully, the Boron LED changes colour and goes into DFU mode etc. Everything seems to run smoothly.
However, it seems that the Boron just isn’t running my code. Despite setting system mode to manual, it still flashes green endlessly on boot. The voltage on D6 does not change, and no data is written to the serial port.
What am I doing wrong here?