This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Beacon RGB led definition

Hello,

I'm having problems with defining RGB led on my beacon (pca20006). When i define for example RED led (on pin 12) with code nrf_gpio_cfg_output(12); i should be able to manipulate it with commands nrf_gpio_pin_toggle, nrf_gpio_pin_clear and nrf_gpio_pin_set right?

But my problem is when i define it as output with comand above, led starts shining bright RED and i can't turn it off any other way than resetting the chip. I need to be able to turn it off since i want to singal the path of data for my project with leds on beacons.

I'm using pca20006.h as my pin setup.

Thanks for help in advance.

Parents Reply Children
No Data
Related