Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1427 Posts: 7608
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 81 Posts: 350
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
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.