Freedom Seeed Grove Relay Example
Dependencies: mbed
Fork of frdm_Grove_Relay_Example by
Simply Import this Program
into your mbed compiler
Select Compile
to generate the binary file
Plug the Grove Shield v2 on the top of your FRDM-K64F
Connect on end of the 4-pin Grove cable to the Relay module and the other end to the port D6 of the Grove Adapter
.
Drag n drop the frdm_Grove_Relay_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 relay should now switch On and Off each time you press the SW2 button of your FRDM-K64F (see picture below)!!
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
0:3b9b4fce896e | 2016-01-01 | GregC | Freedom Seeed Grove Relay Example |