Fooo
This commit is contained in:
@@ -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(){
|
||||||
|
|||||||
Reference in New Issue
Block a user