diff --git a/src/unit/unit_ADS1113.hpp b/src/unit/unit_ADS1113.hpp index 7c15a8e..1536d94 100644 --- a/src/unit/unit_ADS1113.hpp +++ b/src/unit/unit_ADS1113.hpp @@ -20,7 +20,7 @@ namespace unit { @brief ADS1113 unit */ class UnitADS1113 : public UnitADS111x { - M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1113, 0xFF); + M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1113, 0x00F); public: explicit UnitADS1113(const uint8_t addr = DEFAULT_ADDRESS) : UnitADS111x(addr) { diff --git a/src/unit/unit_ADS1114.hpp b/src/unit/unit_ADS1114.hpp index 87fd7d4..87bdf93 100644 --- a/src/unit/unit_ADS1114.hpp +++ b/src/unit/unit_ADS1114.hpp @@ -19,7 +19,7 @@ namespace unit { @brief ADS1114 unit */ class UnitADS1114 : public UnitADS111x { - M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1114, 0xFF); + M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1114, 0x00); public: explicit UnitADS1114(const uint8_t addr = DEFAULT_ADDRESS) : UnitADS111x(addr) { diff --git a/src/unit/unit_ADS1115.hpp b/src/unit/unit_ADS1115.hpp index 8e6b19c..ff08a7b 100644 --- a/src/unit/unit_ADS1115.hpp +++ b/src/unit/unit_ADS1115.hpp @@ -68,7 +68,7 @@ class UnitADS1115 : public UnitADS111x { overwritten and the measurement results will be inaccurate. */ class UnitADS1115WithEEPROM : public UnitADS1115 { - M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1115WithEEPROM, 0xFF); + M5_UNIT_COMPONENT_HPP_BUILDER(UnitADS1115WithEEPROM, 0x00); public: constexpr static uint8_t DEFAULT_EEPROM_ADDRESS{0xFF};