This commit is contained in:
2023-12-18 23:00:01 +01:00
parent 5e3e776c9d
commit ea9202f28c
@@ -12,8 +12,8 @@ void EmptyI2CComponent::setup() {
void EmptyI2CComponent::loop() { void EmptyI2CComponent::loop() {
uint8_t data = 9; uint8_t data = 9;
this->read_register(0x0, &data, 0x1); this->write_register(0x0, &data, 0x1);
ESP_LOGI(TAG, "READ value: %d", data); /* ESP_LOGI(TAG, "READ value: %d", data); */
} }
void EmptyI2CComponent::dump_config(){ void EmptyI2CComponent::dump_config(){