Hello,
I am developping a project for my bachelor's thesis.
There will be bitstreams incoming via RS-422 interface and manipulated, which I already have written working code for and soldered some ICs (and capacitors etc.).
I will be using three Arduinos in total, one UNO, one Mega and one Ethernet. Each will communicate with the others via UART.
Now my question:
Since I am having rarely appearing errors with communicating between the three Arduinos via UART, I think the serialEvent() function might be the problem.
Can someone tell me when exactly the serialEvent() function is called? I mean is it called always after the loop(), or does it use interrupts, that could happen while processing code in the loop()?
Thank you and best regards