BMI270 Interrupts

Materials

Example

Introduction

This example shows how to configure interrupt pins to take measurement.

Procedure

Connect the AMB82-mini to I2C_SDA, I2C_SCL, INT1 of the sensor as shown in the diagram below.

../../../_images/image019.png

Open the example in “File” -> “Examples” -> “AmebaWire” -> “BMI270” -> “Interrupts”.

../../../_images/image029.png

Compile and run the example.

The measurements from the sensor will be printed out upon interrupt trigger.

../../../_images/image038.png