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

Nordic SDK example explanation

Hi DevZone,

I am Nordic beginner, I am using the Nordic SDK example code for my current project. Before using Nordic DK, I was using Arduino for this project. 

There are many differences between programming methodology between Nordic DK and Arduino. I have several questions very basic related with Nordic DK programming.

1) In Nordic SDK examples, every project's main function includes a while loop. I want to know if it is similar to the main Loop function of Arduino project? 

2) In some example, the while function is void and has nothing inside. I don't understand how the program is running. Does SDK project use multi threads? Are these threads started before enter while loop? Or does the while loop is interrupted by inputs?  

Kind regards

Parents Reply Children
No Data
Related