I am new in nrf51822 controller so help me for coding of my question. any help will be appriciate. thank you.
I am new in nrf51822 controller so help me for coding of my question. any help will be appriciate. thank you.
how about actually asking a proper question. You have a poorly-worded title and one paragraph asking for help. That's useless. Explain properly what you are trying to achieve, explain what you have tried and then you may get some help.
RK sir Sorry for that issue .
Actually I dont understand the calculation of ms delay using tick counts so please explain me using one example
You mostly don't have to worry about it - there are macros which turn ms into tick counts for you. The basic idea is the clock can be set to tick at different rates depending on the divider you use. So for instance if you're using the 32kHz clock, and you're running it undivided, 1ms is about 32 ticks. If you're running it with a division of 2, 1ms is 16 ticks.
If you look at pretty much any of the example code you'll see the use of the macros for setting the tick count, just put 130 into one and you'll get what you need.
and apologies for the first answer, I didn't mean to be quite so rude.
Thanku for give me good response RK sir .