A monorail conveyor system sends a 7 bytes long signal in an infinite loop via RS232 to the Com1 port of my IRC5. The start byte is 1 and the stop byte is 3. How to find the first byte
and save all the bytes in 7 different variables.
And how to set the parameters of the com1 port to the specitications i need (E.g. 9600 baud, 1.5 stop bits, no parity, no control characters.).