This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A Dilemma about BSP_SIMPLE, How to Solve it?

Hi everybody:

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

My last post showed that if BSP_SIMPLE is defined, I can't use button event trigger function. Now I find that if BSP_SIMPLE is not defined, I can use button event trigger function but at the same time I can't control LED pin with these functions:

LEDS_CONFIGURE(LEDS_MASK);
LEDS_OFF(LEDS_MASK);
nrf_gpio_pin_toggle(LED_4);

Does anybody know the answer? I will give you a big thumb up.

Related