Closed fherbert closed 8 months ago
Changes ported to the new library and tested from the ESPHome component
After applying this code change to the library I think it's broken ESPHome's OTA updating, I just get timeouts.
Need to roll back to confirm 100%
Using the pin5 falling level interrupt we clear the rx buffer - only tested on my esp32 pico board. Then we read the first byte, since we know the message sizes (FA=23, AE=16) then we wait until the entire message is available (timing out after 2.5ms), read it then process it.