BMI270 Motion Detection

Materials

Example

Introduction

This example shows how to enable motion detection using interrupts.

Procedure

Connect the BMI270 to I2C_SDA and I2C_SCL of the board as shown in the diagram below.

image01

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

image02

Compile and run the example.

A message will be printed out when a motion is triggered.

image03