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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/17/02 14:27
Read: times


 
#29271 - RE: with any pin use serial port
hi,
i can give u an algorithm which i had followed in my college project....
set a timer according to the baud rate that you require. in the vector location for that timer.....do the following..
push acc and psw into stack.....get the data to be transmitted into the acc. then rotate the acc once and check whether the lsb (or msb) is one or not. depending upon that, either set or clear the acc bit and then move it into the port bit through which u want to communicate. then again load the count into the timer, pop acc and psw and return.
i guess the baud rate of 9600 gives enough time for all these operations.
let me know if this works.
regards
tushar

List of 5 messages in thread
TopicAuthorDate
with any pin use serial port            01/01/70 00:00      
RE: with any pin use serial port            01/01/70 00:00      
RE: with any pin use serial port            01/01/70 00:00      
RE: with any pin use serial port            01/01/70 00:00      
RE: with any pin use serial port            01/01/70 00:00      

Back to Subject List