mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +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