How to configure LEDs in the MC-13226 board? Basically, the LEDs have to toggle based on commands from an external signal.
You can do follow the exampleexternal signal is key4In "BeeApp.c" file you find "BeeAppHandleKeys void function (key_event_t events)"You modify
gKBD_EventSW4_c case: SetOneLed (LED4, gLedToggle_c);
When the program starts, you press key 4, then Led 4 will toggle.
The Functions of LEDs you can find and modify in folder
Hope this example will help you.
BeeKit application examples already contain a LED driver you could use for any purpose. The file location depends in the codebase used, for instance:
This driver contains functions such as LED_TurnOnLed (),LED_ToggleLed(), etc. I am pretty sure you will find it very useful for your application.
Retrieving data ...