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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/19/05 13:33
Read: times


 
#87957 - Serial comunication
Responding to: ???'s previous message
I mean 00001111 in R1, then:

1) MOV A, R1
2) ORL A, #030H ; Convert to ASCII (Set upper 4 bits to 0011)
3) MOV SBUF, A


I do not receive a standard character in the PC software.

If I change line 3 with (just to test my pc...):

MOV SBUF, #'A'

I receive the character 'A'.

What do you think?







List of 12 messages in thread
TopicAuthorDate
Serial port comunication            01/01/70 00:00      
   Like this            01/01/70 00:00      
      Serial comunication            01/01/70 00:00      
         ascii tabel            01/01/70 00:00      
            Ascii table            01/01/70 00:00      
               characters            01/01/70 00:00      
                  Serial comunication            01/01/70 00:00      
                     Do you get '?'            01/01/70 00:00      
               ASCII computation            01/01/70 00:00      
               not standard            01/01/70 00:00      
         Read the            01/01/70 00:00      
   Thank you.            01/01/70 00:00      

Back to Subject List