Mikroe Click Relay module demo for NXP Freedom board (tested on FRDM-K64F)
Dependencies: mbed
You are viewing an older revision! See the latest version
Homepage
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
.
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)!!
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)!!