int num1 = 3;
int num2 = 2;
int num3 = 0;
int num4 = 10;
int num5 = 0;
void setup() {
num5 = (num1 + num2 / num3) + num4;
Serial.begin(9600);
}
void loop() {
Serial.println(num5);
delay(1000);
}
##output
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
13
EDIT: I was expecting a SOS and 5 blinks for Usage Fault: detects execution of undefined instructions, unaligned memory access for load/store multiple. When enabled, divide-by-zero and other unaligned memory accesses are also detected. But In the light of transparency I posted the result as-is... and I added a github issue to fix this
Other expected error codes can be found here: http://support.particle.io/hc/en-us/articles/204357864-Flashing-Red