From ea9202f28ceb155ea32ceb2fc655b3ed2387f237 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Mon, 18 Dec 2023 23:00:01 +0100 Subject: [PATCH] Fooo --- components/empty_i2c_component/empty_i2c_component.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/empty_i2c_component/empty_i2c_component.cpp b/components/empty_i2c_component/empty_i2c_component.cpp index 089b5db..e90b780 100644 --- a/components/empty_i2c_component/empty_i2c_component.cpp +++ b/components/empty_i2c_component/empty_i2c_component.cpp @@ -12,8 +12,8 @@ void EmptyI2CComponent::setup() { void EmptyI2CComponent::loop() { uint8_t data = 9; - this->read_register(0x0, &data, 0x1); - ESP_LOGI(TAG, "READ value: %d", data); + this->write_register(0x0, &data, 0x1); + /* ESP_LOGI(TAG, "READ value: %d", data); */ } void EmptyI2CComponent::dump_config(){