Hi,
I'm using SensorTag project from BLE Stack 1.4. When I push S2 button I call:
HalLedSet(HAL_LED_2,HAL_LED_MODE_ON);
Then the LED is not steady, it's blinking very fast... And if I put this code in button:
HalLedSet(HAL_LED_2,HAL_LED_MODE_ON); while(1);
Then the LED is steady. So something else interacts with the LED but I cannot find what. Maybe some power management but I'm a beginner with CC2541 so I'm kind of lost in the project :s
Thanks for your help,
regards