1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00
Igor Mammedov d4f28dd17b mhz19: cleanup uart RX buffer before sending command
When sensor is connected to hardware uart, sometimes on boot
uart's RX buffer contains several bytes of junk. Workaround it
by draining all of it before sending command.
Also turn on cleanup logic only if problem is detected (i.e.
when reply from sensor doesn't look correct.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
2019-05-24 00:56:19 +02:00
2019-04-22 21:56:30 +02:00
2019-05-16 18:34:51 +02:00
2019-05-13 20:45:22 +02:00
2019-05-13 13:11:10 +02:00
2018-09-25 10:30:45 +02:00
2019-05-08 15:37:18 +02:00
2019-05-11 12:21:27 +02:00
2019-05-16 18:34:51 +02:00
2019-05-01 20:37:55 +02:00
2019-05-12 23:04:36 +02:00
2019-05-13 13:11:02 +02:00
2019-04-22 21:56:30 +02:00
2019-02-14 13:49:22 +01:00
2019-03-16 22:24:26 +01:00
2019-04-24 17:08:05 +02:00

ESPHome Build Status Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.

Description
No description provided
Readme Multiple Licenses 189 MiB
Languages
C++ 70.5%
Python 29.2%
C 0.1%