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

Separate Code from main.c for Nordic Development (separate c file for initialization)

hello,

Every example of nordic is done with only one main.c file , i want to have a separtate new.c and new.h file and take all the code from main.c and put it to the new.c and new.h , In the main file i just want to call only one initialization function this initialization call function will be in the new.c and new.h file

but i was not able to do it i get error , can some one post a sample code for this it will make code clean for me. thanks

looking for ward to answers , with examples would be great

Parents Reply Children
No Data
Related