Checks to see if a character is ready to be received from the console serial port. If no character is available, a zero (0) is returned, otherwise the character is read and its value is passed back.
int - return 0 if no character exists in serial buffer. Return the character otherwise.
The CARRIAGE RETURN character (0x0D) will be translated into a NEWLINE (0x0A) for compatibility with C.