setting LED on when XDK is power on
응답
19. 8. 19 오전 8:16

Hello,

I am using the example project Send AccelerometerDataOverBle and additionally want to use the yellow LED. I just want to have the yellow LED switched on while the XDK has power.

In AppController.c I included #include "XDK_LED.h" and typed retcode = LED_ON(LED_INBUILT_YELLOW); But i receive the error "Undefined reference to LED_On". Why does it give this error although I have included XDK_LED.h?

What did I wrong or what did I missed to do? Thank you in advance for your help

0 (0 투표)
RE: setting LED on when XDK is power on
응답
19. 8. 19 오전 9:16 as a reply to Taha Agacdograyan.

Hi Taha,

Add this line in the Makefile as below in the picture.
export XDK_CONNECTIVITY_LED=1

I think after that you need to run clean project once before you compile.

regards

Saeid

0 (0 투표)
RE: setting LED on when XDK is power on
응답
19. 8. 19 오후 3:16 as a reply to Saeid Kajlar.
thank you Saeid for your help. It has worked and now the LED is lighting :)
0 (0 투표)