Can't flash working code - Error: Could not compile. Please review your code

Hi guys, I need your help.

I have 2 Particle devices, let’s say:

  1. “bedroom”- Core (Black)
  2. “living room” - Photon

Today I occasionally flashed the “living room” with the bedroom code (forgot to change the device)
After selecting “living room” device, I can’t flash it with the living room code anymore. I made no changes to the code, but today in Web IDE I’m getting:

Error: Could not compile. Please review your code.

I tried to flash standard BlinkLED example - it worked. However my code still Could not be compiled.

I’m a bit lost. Any advice would be helpful

Thanks

Ok, this one is solved. Got a new issue

Particle Core doesn’t connect to WiFi (blinking green)

I’ve followed both options from here:

no luck. - blinking forever

For the Core you can still perform a factory reset
Then do the stuff outlined in the post you linked above and see if it works again (should run Tinker again).

After a messy combination of various actions I got everything back on track :slight_smile:

Thanks

1 Like