So I got an email from the Digistump Oak kick starter campaign the other day saying the particle ide was working with the oak…not for me
I get the following message when I try to flash my oak ota using the particle IDE (which i’ve been getting for several weeks) so I have had to resort to using the arduino ide.
Error: 500. Please try again later. If the issue persists, please report to hello@particle.io
I can flash a particle photon just fine, Any ideas ?
@mtnbikeray, I just copied the “start” app from Oak Examples on the Arduino IDE and created a new app in the Particle IDE. I then compiled against one of my Oaks without errors. The Oak is not online but when I attempted to flash, after some delay, it simply indicate the flash was unsuccessful. No error 500.
Is it actually offline or showing as such which it's supposed to be offline?
You can't flash devices when they're offline, so that'd explain the error.
You need to use an example tailored for the Oak. The “blink a led” example is designed for the Particle devices. Try this code:
void setup() {
// initialize the digital pin as an output.
pinMode(1, OUTPUT); //LED on Oak
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(1, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
1.0.6
But I think I’m onto the solution with everyone’s help…I had something working on the Photon and in moving it to the Oak, I wasn’t aware of some of the code I was using wasn’t able to run as-is on the Oak…