I have three sensors latched on to three different Arduino devices.
The respective Arduino devices are connected on to an Arduino Mega on Serial1, Serial2 and Serial3.
The data from each device component (i.e., an Arduino with an accompanying sensor) were sent in data packets with different starter byte headers ('$' , '/' & '#' ) accompanying the buffered data from each individual device component onto the Mega on the Tx/Rx lines.
My question here is, how can I simultaneously read out all the data from the different serial ports on the Arduino mega sketch?