AnsweredAssumed Answered

blink led frdm-k22f

Question asked by brian cavanagh on Jan 11, 2017
Latest reply on Jan 12, 2017 by Robin_Shen

Hi All,

 

I'm using KDS to write code for the FRDM-K22F board.  

I was hoping to write code with the bare minimum of files so I feel more in control of using KDS without help from the online mbed examples.

 

What I used as an example was the code I can drag+drop into the mbed (Online), which does work.

 

The attached shows a very simple example of the code to flash the RED LED (RGB) on the board.  When I review the code there's an include "mbed.h" that I don't see in any of the files.

 

In the end, here's what I would like to accomplish:

1.  Using KDS, start a new project

2.  Add the correct "Include Files".

3.  Write the code to Blink the red led.

 

I'm trying to always use KDS and become familiar with the tool.

 

Thanks,

 

Brian

#

Attachments

Outcomes