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

button function crashing the advertsing

Hello everyone

i want to create button fucntion press the button for 3 seconds and then it has to start advertsing but i have excuted the button fucntion but it si showing some errors in gpiote files so any suggestion or ideas will be helpful for me

main.c

Parents
  • yes am using the sdk version 9 and the button example now i am able to succed to see the button example workign very well can you suggest how to set the timer for 3 sec in the button example because i want to create the function like if i press the button for 3 sec led turn on and if i press the same button for 5 sec then the LED should turned off

    I ahve attached my main.c file in this post

Reply
  • yes am using the sdk version 9 and the button example now i am able to succed to see the button example workign very well can you suggest how to set the timer for 3 sec in the button example because i want to create the function like if i press the button for 3 sec led turn on and if i press the same button for 5 sec then the LED should turned off

    I ahve attached my main.c file in this post

Children
No Data
Related