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

<td><input type="button" onClick="setRelay('31')" value="Relay 3 ON
        "/></td>

                   <td><input type="button" onClick="setRelay('30')" value="Relay 3 OF
        F"/></td>
        </tr>
        <tr>
                   <td><input type="button" onClick="setRelay('41')" value="Relay 4 ON

        "/></td>
                   <td><input type="button" onClick="setRelay('40')" value="Relay 4 OF
        F"/></td>

        </tr>
        </table>
        </body>
        </html>




        Programmer Shield


        The programmer shield is for the very advanced users who want to gain full access and
        control over the Photon board. This shield is an FT2232H-based JTAG programmer shield
        that is fully compatible with OpenOCD and Broadcom’s WICED integrated development

        environment  (IDE).  The  FT2232H  chip  is  set  up  to  provide  a  USB  JTAG  and  USB
        universal asynchronous receiver/transmitter (UART) interface for the Photon board. It can
        also be configured by the user by reprogramming the on-board config electrically erasable

        programmable read-only memory (EEPROM). The unused pins are marked and broken
        out on to easy-to-access headers as shown in Figure 7.5.




































        Figure 7.5 JTAG programming shield.
   147   148   149   150   151   152   153   154   155   156   157