Re: Lab 4

Ed Casas (edc@ece.ubc.ca) Thu, 11 Mar 1999 00:44:36 -0800


Date: Thu, 11 Mar 1999 00:44:36 -0800
From: Ed Casas <edc@ece.ubc.ca>
Subject: Re: Lab 4

> I have a question regarding lab 4. Is there any necessary > formatting of the data before it is output? Or do we simply > output the ASCII character code to the output port. You output (to the serial interface) the ASCII code for each character you want displayed. The serial interface then sends it out to the PC one bit at a time. > I'm confused as to how the the PC's com2 serial port works. Is > it configured to receive the ASCII code and then translate this > into a character on its own? Yes, it receives 8 bits and passes them (as a byte) to the operating system. The Hyperterm software gets these bytes and sends them back to the operating system display software which converts each character code to the appropriate bit-map for the character. -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592