Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 564 Bytes

File metadata and controls

22 lines (14 loc) · 564 Bytes

AttachInterrupt

Overview

This sample demonstrates how to use attachInterrupt API.

Building and Running

Build and flash attachInterrupt sample as follows,

```sh $> west build -p -b arduino_nano_33_ble samples/basic/attach_interrupt/ -DZEPHYR_EXTRA_MODULES=/home/$USER/zephyrproject/modules/lib/Arduino-Core-Zephyr

$> west flash --bossac=/home/$USER/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2/bossac ```

Turn on the LED by detecting interrupts. And Turn off the next interrupt.