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

nRF51 SDK changing LED tick

I am using the Nordic nRF51 SDK on a BLE Nano device. The example I am using uses a function to initialize the LED flashing (bsp_init()). This sets the timing for the ticks. What I want to do is invert the ticks. What I mean by this is that currently the LED stays off for x seconds and then it turns on for a short while (basically it flashes/ticks). I want it to stay on for x seconds and then turn off for a short while. So basically how do I switch the default state of the LED?

Related