From 36dfc486c248c9325fc5f7246890f5c4fb51f5e0 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sun, 15 Dec 2024 21:18:37 -0500 Subject: [PATCH] Update bbn_m5atomS3_lite_INA219.ino --- bbn_m5atomS3_lite_INA219/bbn_m5atomS3_lite_INA219.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bbn_m5atomS3_lite_INA219/bbn_m5atomS3_lite_INA219.ino b/bbn_m5atomS3_lite_INA219/bbn_m5atomS3_lite_INA219.ino index a75f37b..71f23ec 100644 --- a/bbn_m5atomS3_lite_INA219/bbn_m5atomS3_lite_INA219.ino +++ b/bbn_m5atomS3_lite_INA219/bbn_m5atomS3_lite_INA219.ino @@ -3,7 +3,9 @@ #include "NmeaXDR.h" -Adafruit_INA219 ina219; +#define INA219_I2C_ADDRESS (0x40) + +Adafruit_INA219 ina219(INA219_I2C_ADDRESS); unsigned long timeout = 0; void setup() {