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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/17/09 09:30
Read: times


 
#163524 - Finally! It's working now
Responding to: ???'s previous message
Okay guys, firstly my thanks to all of you here for your assistance, it really helped!

As I mentioned in one of my earlier posts, I managed to find lecture notes from National Taiwan Ocean University (thankfully in English!) from Google and I studied the notes this morning.

Anyway, these are the codes that work now:

ORG 0000H
CLR P2.0

MOV TMOD, #20H
MOV TH1, #-24
MOV SCON, #50H
SETB TR1

AGAIN: CLR P2.0
JNB P2.0, $
MOV SBUF, #'A'
HERE: JNB TI, HERE
CLR TI
SJMP AGAIN

END

Again, thank you very much! Also thanks to whoever who wrote the "Chapter 10 8051 Serial Communication" notes at National Taiwan Ocean University.

List of 15 messages in thread
TopicAuthorDate
Help with codes for serial communication            01/01/70 00:00      
   the mistake we all make, occsionally            01/01/70 00:00      
      RE: Help with codes for serial communication            01/01/70 00:00      
         Two changes - why?            01/01/70 00:00      
            Two changes - why?            01/01/70 00:00      
               Mistake with the baud rate            01/01/70 00:00      
                  Baud rate calculator            01/01/70 00:00      
               It's not a compiler...            01/01/70 00:00      
         Sending an A            01/01/70 00:00      
         the typical case            01/01/70 00:00      
            RE: the typical case            01/01/70 00:00      
   Finally! It's working now            01/01/70 00:00      
      Great!            01/01/70 00:00      
      Link?            01/01/70 00:00      
         RE: Link            01/01/70 00:00      

Back to Subject List