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!