corrected errors

This commit is contained in:
KoenBreeman 2024-08-16 10:56:04 +02:00
parent 3c9b6e29dc
commit 6e7660017b
8 changed files with 14 additions and 15 deletions

View File

@ -9,7 +9,6 @@ namespace m5stack_4relay {
static constexpr uint8_t UNIT_4RELAY_REG = 0X10; static constexpr uint8_t UNIT_4RELAY_REG = 0X10;
static constexpr uint8_t UNIT_4RELAY_RELAY_REG = 0X11; static constexpr uint8_t UNIT_4RELAY_RELAY_REG = 0X11;
class M5Stack_4Relay : public Component, public i2c::I2CDevice { class M5Stack_4Relay : public Component, public i2c::I2CDevice {
public: public:
void set_switch_mode(bool mode); void set_switch_mode(bool mode);

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 16 scl_pin: "16"
sda_pin: 17 sda_pin: "17"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 5 scl_pin: "5"
sda_pin: 4 sda_pin: "4"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 5 scl_pin: "5"
sda_pin: 4 sda_pin: "4"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 16 scl_pin: "16"
sda_pin: 17 sda_pin: "17"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 5 scl_pin: "5"
sda_pin: 4 sda_pin: "4"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,5 +1,5 @@
substitutions: substitutions:
scl_pin: 5 scl_pin: "5"
sda_pin: 4 sda_pin: "4"
<<: !include common.yaml <<: !include common.yaml

View File

@ -1,7 +1,7 @@
i2c: i2c:
- id: i2c_tca9548a - id: i2c_tca9548a
scl: 16 scl: "16"
sda: 17 sda: "17"
tca9548a: tca9548a:
- id: multiplex0 - id: multiplex0