Higher speeds need larger buffer. Processing takes longer, so let's put the threshold at 75% of the buffer size to have some headroom. E.g. for 1Mbit with 2.5KB buffer 2048 characters would be roughly still around 20ms, and reserve additional 512 chars / 5ms to handle the buffer after the threshold is reached Co-authored-by: mrkev-gh <mrkev-gh@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| examples/swsertest | ||
| src | ||
| keywords.txt | ||
| library.json | ||
| library.properties | ||
| README.md | ||
TasmotaSerial
Implementation of software serial with hardware serial fallback library for the ESP8266 Implementation of dual UART hardware serial for the ESP32 Implementation of single UART hardware serial for the ESP32-S2
Allows for several instances to be active at the same time.
Please note that due to the fact that the ESP always have other activities ongoing, there will be some inexactness in interrupt timings. This may lead to bit errors when having heavy data traffic.