mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
oeps
This commit is contained in:
parent
f8eb0c12a7
commit
7557e81448
1 changed files with 3 additions and 3 deletions
|
@ -171,10 +171,10 @@ void EbyteLoraComponent::loop() {
|
||||||
if (sensor->get_pin() == data[i]) {
|
if (sensor->get_pin() == data[i]) {
|
||||||
sensor->publish_state(data[i + 1]);
|
sensor->publish_state(data[i + 1]);
|
||||||
}
|
}
|
||||||
ESP_LOGD(TAG, "PIN: %u ", data[i]);
|
|
||||||
ESP_LOGD(TAG, "VALUE: %u ", data[i + 1]);
|
|
||||||
i = +2;
|
|
||||||
}
|
}
|
||||||
|
ESP_LOGD(TAG, "PIN TO SET: %u ", data[i]);
|
||||||
|
ESP_LOGD(TAG, "VALUE TO SET: %u ", data[i + 1]);
|
||||||
|
i = +2;
|
||||||
}
|
}
|
||||||
ESP_LOGD(TAG, "RSSI: %u % ", (data[data.size() - 1] / 255.0) * 100);
|
ESP_LOGD(TAG, "RSSI: %u % ", (data[data.size() - 1] / 255.0) * 100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue