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

Back to Subject List

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


 
#93512 - Change it to C!
Responding to: ???'s previous message
SERIAL_TRANSMIT: ;INPUT IS IN SBUF
MOV TMOD,#20H
MOV TH1,#-3 ;SETTING BAUD RATE TO 9600
MOV SCON,#50H
SETB TR1
HERE1:
JNB TI,HERE1
CLR TR1
CLR TI
RET

SERIAL_RECEIVE: ;OUTPUT IS IN SBUF
MOV TMOD,#20H
MOV TH1,#-3 ;SETTING BAUD RATE TO 9600
MOV SCON,#50H
SETB TR1
HERE2:
JNB RI,HERE2
CLR TR1
CLR TI
RET


List of 9 messages in thread
TopicAuthorDate
setting SFR registers            01/01/70 00:00      
   A couple of things.            01/01/70 00:00      
   Change it to C!            01/01/70 00:00      
      why            01/01/70 00:00      
      but it already is C!!            01/01/70 00:00      
         Mehdi probably meant:            01/01/70 00:00      
            Yes Jan            01/01/70 00:00      
   Baud rate            01/01/70 00:00      
   *what* doesn't work?            01/01/70 00:00      

Back to Subject List