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

Long button sleep/wakeup

Hi!

I would like to use long button press to send device into sleep mode (using BSP module). Since button is tied to ground, when device goes to sleep mode, and when I release button, there is transition on IO pin, and device goes back from sleep. How can I prevent this?

Thank you!

Related