Reads byte data trough serial COM port and prints it at the output window.
serial_red(port, size, timeout);
result = serial_readdata("COM10", 0);
result:
8
Output:
0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88
serial_read, serial_readarray, serial_readflush