From 16ea6dafe3bcff534d37eb4668fdc20d6bcbb9c6 Mon Sep 17 00:00:00 2001 From: ztimson Date: Wed, 30 Oct 2024 11:29:35 -0400 Subject: [PATCH] Fixed IMU address --- src/bno080.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bno080.js b/src/bno080.js index 8f79864..a27b8cd 100644 --- a/src/bno080.js +++ b/src/bno080.js @@ -1,6 +1,6 @@ import i2c from 'i2c-bus'; -export async function imu(address = 0x4A) { // BNO080 default I2C address +export async function imu(address = 0x4B) { // BNO080 default I2C address const i2cBus = await i2c.openPromisified(1); // Register addresses for accelerometer, gyroscope, and magnetometer data (assumes configuration is done)