Add detection code for INA226 (#5605)

INA226 is a high accuracy current and voltage sensor.
This commit is contained in:
Tom Fifield
2024-12-21 12:24:29 +11:00
committed by GitHub
parent 58d80b8557
commit 5fed679d33
3 changed files with 14 additions and 4 deletions

View File

@@ -63,7 +63,8 @@ class ScanI2C
MAX30102,
TPS65233,
MPR121KB,
CGRADSENS
CGRADSENS,
INA226
} DeviceType;
// typedef uint8_t DeviceAddress;
@@ -127,4 +128,4 @@ class ScanI2C
private:
bool shouldSuppressScreen = false;
};
};