esphome / esphome-core

🚨 No longer used 🚨 - The C++ framework behind ESPHome
https://esphome.io/
GNU General Public License v3.0
545 stars 113 forks source link

Revert ultrasonic sensor to non-interrupt mode #562

Closed OttoWinter closed 5 years ago

OttoWinter commented 5 years ago

Description:

The ultrasonic sensors must be generating a short pulse on the echo pin when trigger is pulsed. No good way to fix that with interrupt mode.

Related issue (if applicable): fixes https://github.com/esphome/issues/issues/147

Pull request in esphome with python changes (if applicable): esphome/esphome# Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#

Checklist:

If user exposed functionality or configuration variables are added/changed: