receive RS232 data at the baud rate 0f 1200

Status
Not open for further replies.

scdoro

Member level 5
Joined
Jan 12, 2005
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,040
Hi all,

Does anyone know how to generate receive RS232 data at baud rate of 1200.How does the calcuation works,can anyone help to explain to me? i have a source project which says it is written in this way.Can anyone help me verify if its correct?

********** Main Program *****************
;receive the data at 1200 baud rate
call Delay3
call Delay3


********** Delay Function *****************

Delay3
movlw .138
movwf count3
dec3 decfsz count3,f
goto dec3
return
************************************

thanks

regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…