Update 'components/empty_i2c_component/empty_i2c_component.cpp'
This commit is contained in:
@@ -11,12 +11,8 @@ void EmptyI2CComponent::setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EmptyI2CComponent::loop() {
|
void EmptyI2CComponent::loop() {
|
||||||
uint8_t data = 0x1;
|
uint8_t data = 0x0;
|
||||||
this->write_register(0x0, &data, 0x1);
|
this->write_register(0x0, &data, 0x1);
|
||||||
delay(1000);
|
|
||||||
data = 0x0;
|
|
||||||
this->write_register(0x0, &data, 0x1);
|
|
||||||
delay(1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmptyI2CComponent::dump_config(){
|
void EmptyI2CComponent::dump_config(){
|
||||||
|
|||||||
Reference in New Issue
Block a user