Serial and RGB LED program example for Hexiwear
This project demonstrates the use of a Hexiwear Serial interface and the GPIOs to control the RGB LED
Open a Hyperterminal tool on your computer and connect it to the "mbed Serial port (COMxx)" with Baud rate "9600bps"
Compile the project and copy the binary "Hexi_Serial_RGB_Example_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer Press the K64F-RESET button on the docking station to start the program on your board
Message "Tell me the RGB LED Color" will appear in the Hyperterminal window Then every 1s a color (Red, Green or Blue) will be displayed in the Hyperterminal window and the RGB LED will power-on accordingly