Main.c File looks fine to me but there is bug in the make file. Please review my code.
Trial_error.zip
Hi Gaurav,
You may need to have a look at the following examples (located in examples\peripheral in the SDK):