Page 30 - Programming the Photon Getting Started With the Internet of Things
P. 30

Photon board is not responding after a hard reset, then the last option is a factory reset of
        the board itself, which will wipe everything off and restart your Photon as if it was newly
        out  of  the  box  again.  You  can  do  this  by  holding  down  both  the  SETUP  and  RESET

        buttons for 10 seconds—the LED should flash white quickly and then turn another color
        when it has been reset.







































        Figure 2.1 Photon board.


             On the Photon board you should be able to see two LEDs. There is one RGB LED in
        the middle of the board, which shows you the status of your Photon’s network connection.

        There is also one other small blue Surface Mount Diode (SMD) LED, which is the user
        LED; this is connected to pin D7, so when you turn the D7 pin HIGH or LOW, it turns the
        blue LED either ON or OFF. The RGB LED shows the following states:


               Flashing blue Listening mode; waiting for network information.

               Solid blue Smart Config complete; network information has been found.

               Flashing green Connecting to the local Wi-Fi using the credentials found.

               Flashing cyan Connecting to the Particle cloud.
               Quick flashing cyan Initiating a handshake with the Particle cloud.

               Slow pulsating cyan Successfully connected to the Particle cloud.

               Flashing yellow Bootloader mode; awaiting for new code via USB or using the
               JTAG shield.

               White pulsing Startup; the Photon is powered on.

               Flashing white Factory reset has been initiated.
   25   26   27   28   29   30   31   32   33   34   35