Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/01 17:06
Read: times


 
#7940 - RE: Serial Port Weird Problem
Hi All,

I see the major problem with his code. He does not wait for the byte to be transmitted! Check out the code below I use to send a byte or character.

SendCharacter:
mov sbuf,a ; send byte
jnb ti,$ ; wait till byte is sent
clr ti ; ok it was sent
ret ; return from routine

Hope this helps.

TTYL,

Dave Kaleta


List of 17 messages in thread
TopicAuthorDate
Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      
RE: Serial Port Weird Problem            01/01/70 00:00      

Back to Subject List