Just being curios about the ultrasonic sensor's implementation #5240
Unanswered
StarlightIbuki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://vscode.dev/github/esphome/esphome/blob/dev/esphome/components/ultrasonic/ultrasonic_sensor.cpp#L18
Here we know it's a blocking call to measure the distance. Is there some reasons why we don't implement with interrupt?
Also I'm curios about why we forbid the use of pulseIn.
Beta Was this translation helpful? Give feedback.
All reactions