For some reason, I can’t get even the simplest code to compile and flash to my device (new Photon, just brought online a few minutes ago).
int led=D7;
void setup() {
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
}
</pre></code>
When I try to Verify this, I get "Error: Could not compile. Please review your code."
So I tried grabbing the Example code for "Blink an LED", which looks like this (comments removed):
<code><pre>
int led1 = D0;
int led2 = D7;
void setup() {
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
}
void loop() {
digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
delay(1000);
digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
delay(1000);
}
It also says “Error: Could not compile. Please review your code.”
When I try to flash either of them, all I get is “Flash unsuccessful.” No other information provided.
My device is online and “breathing cyan”
Same here, even with empty skeleton code. I found suggestions to restart the browser and logout/login Build, but they haven’t helped so far. Trying with another browser. If that does not help, then they have a problem with their build farm, despite the full green status pages.
Been developing today using Particle Dev on a MacPro for a few hours, and everything was going swimmingly.
Then, about 20 minutes ago, I started getting the “Compiler timed out or encountered an error” message at the bottom of the window. I’ve tried restarting Particle Dev, rolling back the changes I made, but still get the error. The status pages shows everything is cool, but I’m not sure where to look for possible problems because the error message is so vague.
Any suggestions? Help, as always, is greatly appreciated.
Hello Guys
I’m trying to compile my code on the Web IDE or on the Particle Dev but it is giving me this error: Error: Could not compile. Please review your code
Any one has the same issue?
I also tried to compile another code but the issue is the same, so I believe it is something happening with the Cloud.
Thanks in advance @ScruffR@Dave@bko@kennethlimcp