Freedom Seeed Grove RGB LED Example

Dependencies:   Chainable_RGB_LED mbed

Fork of frdm_Grove_RGB_LED_Example by Freescale

Simply Import this Program into your mbed compiler
Select Compile to generate the binary file
Open an Hyperterminal window and connect to the mbed Serial Port (COMxx) peripheral using speed 9600bps
Plug the Grove Shield v2 on the top of your FRDM-K64F
Connect on end of the 4-pin Grove cable to the Chainable RGB LED module and the other end to the port D2 of the Grove Adapter.

/media/uploads/GregC/rgb1.jpg

Drag n drop the frdm_Grove_RGB_LED_Example_K64F.bin into the mbed drive from your file explorer
Wait for download to complete
Press the Reset/SW1 button of your FRDM-K64F board to launch the program

The RGB LED should lite up changing colors randomly

/media/uploads/GregC/rgb2.jpg

Your hyperterminal window should also now display the values for each Red Green Blue colors (see picture below)!!

/media/uploads/GregC/rgb3.jpg

Download repository: zip gz

Files at revision 0:dfdc616ec709

Name Size Actions
[up]
Chainable_RGB_LED.lib 75 Revisions Annotate
main.cpp 704 Revisions Annotate
mbed.bld 65 Revisions Annotate