mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 14:34:54 +01:00
Update ultrasonic_sensor.cpp
This commit is contained in:
parent
06c0b32cea
commit
9fbc222fe7
1 changed files with 1 additions and 3 deletions
|
@ -6,9 +6,7 @@ namespace ultrasonic_uart {
|
|||
|
||||
static const char *const TAG = "ultrasonic_uart";
|
||||
|
||||
void UltrasonicSensorComponent_UART::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up Ultrasonic Sensor...");
|
||||
}
|
||||
void UltrasonicSensorComponent_UART::setup() { ESP_LOGCONFIG(TAG, "Setting up Ultrasonic Sensor..."); }
|
||||
void UltrasonicSensorComponent_UART::update() {
|
||||
this->write(0x55);
|
||||
while (this->available() == 4) {
|
||||
|
|
Loading…
Reference in a new issue