Mikroe Click Relay module demo for NXP Freedom board (tested on FRDM-K64F)

Dependencies:   mbed

Simply Import this Program into your mbed compiler
Select Compile to generate the binary file
Plug the Mikroelektronika FRDM-K64F Click SHIELD on the top of your FRDM-K64F
Connect the Mikroelektronika Relay Click module in the Socket 1 of the Click SHIELD.

/media/uploads/GregC/click-relay_1.jpg

Drag n drop the frdm_Click_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

There is two relays on the Mikroelektronika RELAY Click module

Relay1 should now switch On and Off with LED Red as indicator each time you press the SW2 button of your FRDM-K64F (see picture below)!!

/media/uploads/GregC/click-relay_2.jpg

Relay2 should now switch On and Off with LED Orange as indicator each time you press the SW3 button of your FRDM-K64F (see pictures below)!!

/media/uploads/GregC/click-relay_3.jpg

mbed.bld

Committer:
GregC
Date:
2016-04-26
Revision:
1:665830412d05
Parent:
0:3b9b4fce896e

File content as of revision 1:665830412d05:

http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013