Hi there, I went to the particle reference guide to understand Particle.function. The very first step basically killed my argon this is what I used to flash it with.
// SYNTAX
bool success = Particle.function("funcKey", funcName);
// Cloud functions must return int and take one String
int funcName(String extra) {
return 0;
}
It was stuck flashing red. I attempted particle particle flash --usb tinker -v. It was not recognized. via usb. However on my phone I am able to ping it and it does say it’s connected. How do I get back to in a state where it works again?
To give more context, I also followed the instructions to put it in safe mode but it briefly goes from magenta back to flashing red again. I also did particle flash jake_particle tinker and it brings back an error Flash device failed: Device not discoverable or is offline. And yet it is in fact recognized by my phone and the particle console as active. I just can’t seem to get around this. I’m hesitant to unclaim my device.
Do not unclaim, that solves nothing.
-Did you place it in DFU mode for the --usb flash?
-Try safe mode and flashing a simple working app (blink an LED or Tinker)