Skip to content

Commit

Permalink
Change default address
Browse files Browse the repository at this point in the history
  • Loading branch information
GOB52 committed Aug 20, 2024
1 parent e8fc37e commit 0dc2d99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/unit/unit_ADS1113.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/unit/unit_ADS1114.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/unit/unit_ADS1115.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 0dc2d99

Please sign in to comment.