Update 'components/empty_i2c_component/empty_i2c_component.cpp'

This commit is contained in:
gnxlxnxx committed 2023-12-17 21:30:40 +01:00
1 parent da631bb6a0
commit 0d099f7449
1 file changed
+1 -5
@@ -11,12 +11,8 @@ void EmptyI2CComponent::setup() {
}
void EmptyI2CComponent::loop() {
uint8_t data = 0x1;
uint8_t data = 0x0;
this->write_register(0x0, &data, 0x1);
delay(1000);
data = 0x0;
this->write_register(0x0, &data, 0x1);
delay(1000);
}
void EmptyI2CComponent::dump_config(){