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

adding functions to, 32

           LED indicating update, 9, 12

           Photon board, 30

           sending application to, 25


        Firmware update mode, device modes, 141

        Flash:

           flashing LEDs, 50–53

           Particle Build functions, 22

           sending application to firmware, 25

        floats, variable, 35–36

        Flux, solder and, 149


        for statement, syntax of, 39–40

        Fork button, 25

        Form factor, of Photon board, 4

        FT2232H-based JTAG programmer, 118

        Functions, use in Photon programming, 87–89





        G

        GetReading function, JavaScript, 100


        Github repository, adding libraries from, 26

        Global variables, comparing with local, 74

        Gmail, e-mail alert application of IFTTT, 126–133

        GND (ground) pin:

           connecting servo to Photon board, 65

           flashing an LED, 52

           header pin for, 10


           measuring digital outputs, 48–50

        Google, IFTTT integration with, 125

        GPIO pins:

           header pins for, 10
   204   205   206   207   208   209   210   211   212   213   214