3 years, 2 months ago.

Wake up BLE Nano from deep sleep using "custom" interrupt

Hey guys,

I am having trouble with the following: I want to set my BLE Nano into deep sleep, where he only listens to an analog pin. The device should awake when the user presses on a pressure sensor really hard. I know about the interruptIn. But I don't want to trigger the interrupt only because the value changes just a little bit. Can I somehow specify that I want to trigger the interrupt when value difference is really high (the user presses really high) in a short period of time? Any suggestions are welcome.

Be the first to answer this question.