baz
This commit is contained in:
@@ -11,8 +11,9 @@ void EmptyI2CComponent::setup() {
|
||||
}
|
||||
|
||||
void EmptyI2CComponent::loop() {
|
||||
uint8_t data = 0x0;
|
||||
this->write_register(0x0, &data, 0x1);
|
||||
uint8_t data = 10;
|
||||
this->read_register(0x0, &data, 0x1);
|
||||
ESP_LOGI(TAG, "READ value: %d", data);
|
||||
}
|
||||
|
||||
void EmptyI2CComponent::dump_config(){
|
||||
|
||||
Reference in New Issue
Block a user