scdoro
Member level 5

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
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