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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/04/00 22:28
Read: times


 
#1134 - RE: Serial initilizing
Hi,

Your loop is not correct :

cout: jnb TI,cout
clr TI
mov SBUF,a
jmp cout

Here you're waiting for TI=1 to be able to send next character, but the first time, no character are send, the TI is never set...

Try this :

cout:
mov SBUF,a
jnb TI,$
clr TI
jmp cout





List of 5 messages in thread
TopicAuthorDate
Serial initilizing            01/01/70 00:00      
RE: Serial initilizing            01/01/70 00:00      
RE: Serial initilizing            01/01/70 00:00      
RE: Serial initilizing (sorry)            01/01/70 00:00      
RE: Serial initilizing (ur 1st example was ok)            01/01/70 00:00      

Back to Subject List