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

to make your own battery connection. Use pin D6 for the NeoPixel library code—all other
        pins are available for other uses and have two breakouts on either side so you can wire up
        other sensors or devices.

             The ring kit comes as a single, round printed circuit board (PCB) with 24 individually

        addressable RGB LEDs assembled and tested, two 12-pin 0.1-inch socket headers, and a
        bonus  JST  cable.  Some  light  soldering  is  required—you  can  solder  the  two  sockets  in
        place to allow unplugging of the Photon, or just solder it directly in place for a slimmer

        look.



        Summary


        Hopefully you can see that there are many ways in which your projects and experiments

        can be simplified by using some of these add-on boards and shields. In the next chapter we
        will take a look at using the “if this then that” (IFTTT) Web service with your Photon
        board.
   152   153   154   155   156   157   158   159   160   161   162