Use interrupts to capture Serial UART data, not polling (#393)
PR #379 was an ugly hack which works only if you poll the Serial port more frequently than ~8 byte times. This PR replaces the polling with an IRQ based lockless writer/reader queue so that even if you only read every 32 byte times, the Serial1/2 port should not lose data. It also should use less CPU and allow for somewhat higher throughput.
Showing
Please register or sign in to comment