RE: rs232 works - should it?

I think someone is getting confused with sending and receiving serial data.  When you send, you send the start bit, wait one bit period, send the lsb, wait one bit period etc...


When you use a simple software uart to receive, you should sample the serial data in the middle of a bit period.  So after detecting the start bit, then you wait 1 1/2 bit periods so that you sample in the middle of the first bit, then wait one bit period to sample the next bit etc.  The 1 1/2 bit period is only valid as the first delay after receiving the start bit.

Mike