function SerialPort_Input: byte;
Return the received byte.
If applicable, stores the receive error bits 1 (overrun) & 2 (framing) in the InErrorCode global variable.
Warning: It waits if there is no character ready.