This commit is contained in:
2023-12-18 22:46:51 +01:00
parent 048892359e
commit bd3f376e52
@@ -15,7 +15,7 @@ void EmptyI2CSensor::setup(){
void EmptyI2CSensor::update(){
uint8_t data[] = {10};
this->write_register(0x0, &data, 0x1);
this->read_register(0x0, &data, 0x1);
ESP_LOGI(TAG, "sensor output: %d", data[0]);
}