AnsweredAssumed Answered

How to turn on LED with MQX on KSDK KDS

Question asked by Yaran Nan on Mar 19, 2015
Latest reply on Jun 29, 2015 by Jorge_Gonzalez

I am pretty new to the OS and development tool, and now i have a simple demo hello_world project running.

I would like to simply turn on LED, on one of the task. I added two lines of codes below to the hello_demo

but it doesnt work. I assumed that I didnt import or use gpio driver correctly. Anyone has idea?

I am doing MQX project with KSDK1.1.0 on KDS2.0.on TWR-K60D100M

//Two line of code

GPIO_DRV_Init(NULL, ledPins);

GPIO_DRV_ClearPinOutput(BOARD_GPIO_LED_BLUE);

 

Thanks,

 

Yaran

Outcomes