1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-21 04:18:16 +00:00
thejonesyboy e50644edee
fix: Incorrect time delay conversion breaks remote_transmitter_esp8266.cpp (#1322)
* Incorrect time delay conversion breaks remote_transmitter_esp8266.cpp

I'm unsure why the conversion from microseconds into whole millseconds and remaining microseconds is done using a value of 16383, rather than 1000. This breaks the "on", "off" times, as well as the repeat wait_time if the period is more than 16383 microseconds.

I have confirmed behaviour with an oscilloscope. See https://community.home-assistant.io/t/infrared-remote-transmitter-not-working/232825

* Update esphome/core/helpers.cpp

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2020-10-22 23:25:33 -03:00
..
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2020-05-23 20:33:58 -03:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2020-07-15 14:00:02 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2020-08-06 17:29:45 +02:00
2019-12-07 18:28:55 +01:00