h2zero / n-able-Arduino

An arduino core for ARM based BLE devices supported by the NimBLE stack.
GNU Lesser General Public License v2.1
34 stars 12 forks source link

Sleep with Interrupt #28

Open j45p41 opened 9 months ago

j45p41 commented 9 months ago

What is the command to enter sleep mode for NRF52840 so that the MCU wakes from interrupt pin? Thanks!

h2zero commented 7 months ago

Hello, sorry for the delay. You can enter deep sleep mode with systemPowerOff() normal sleep mode happens anytime you call delay().