RS485 Processing Modes - DCS-Skunkworks/dcs-bios-arduino-library GitHub Wiki

Alternative RS485 Processing Mode

RS485 slaves can drop incoming export data if your sketch runs too slow. It can happen when drawing to a slow display, but also in cases where it should work a lot faster, such as writing to a Nextion display (UART2, 250000 baud). Additionally, if you map 48LEDs on an Arduino Mega, even with direct register writes, it triggers the same issue.

If you experience any issues like the examples below, try the alternative RS485 processing mode by adding #define DCSBIOS_DEFER_RS485_PROCESSING before #include "DcsBios.h"

Examples of the data dropping

Expand
1.mp4
2.mp4

More details can be found in the original PR https://github.com/DCS-Skunkworks/dcs-bios-arduino-library/pull/52

⚠️ **GitHub.com Fallback** ⚠️