Hi,all.i want to release wakeup button after wakeup my device and change the button's function.i used 8.0 sdk.how to do that?Thanks!
Hi,all.i want to release wakeup button after wakeup my device and change the button's function.i used 8.0 sdk.how to do that?Thanks!
Hi,
See the tutorial on the Board Support Package. When you enter sleep mode you prepare a wakeup button like this
err_code = bsp_wakeup_buttons_set((1 << WAKEUP_BUTTON_ID));
APP_ERROR_CHECK(err_code);
When you go to sleep the system will now reset when your button is pressed. This means that your button will do what it was configured to do in your init functions.
Best regards,
Øyvind
When your device wakes up from system off sleep it will reset. This means that it will redo all initializations, and your buttons will be configured the way you set them to.
Startup: Button configured to push, release, long push
System_off_sleep: Button configured to wakeup
When button is pressed the application returns to startup and your button will be configured to push, release and longpush again
Hi,Can you help me in my project to solve wake up button issue? There is wake up button is working and nrf51422 module is reset.But data broadcasting only at first time and after that connection is established but data is didn't given.Please go through my blog.
Hi,Can you help me in my project to solve wake up button issue? There is wake up button is working and nrf51422 module is reset.But data broadcasting only at first time and after that connection is established but data is didn't given.Please go through my blog.