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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/22/05 00:32
Read: times


 
#88102 - MSComm config
Responding to: ???'s previous message
Aubrey,

Thank you for your reply.

Yes I have set the MSComm as matter of fact I can receive characters from the 8051. The issue is when I try to send a charater to the micro.

I put a routine like this:

RECEIVE:
;
WAIT3:
JNB RI, WAIT3 ;Wait for reception to be completed.

MOV A, SBUF ; put the character in A
CLR RI ; clear the receive flag

MOV R5, A ; save the char read


And the visual basic:

MSComm.Output = "A" + CHR$(13)


Any idea?

Thanks,
Alex



List of 24 messages in thread
TopicAuthorDate
8051 <-> RS232 comunication            01/01/70 00:00      
   VB to Microcontroller            01/01/70 00:00      
      Very Informative!            01/01/70 00:00      
         Language(s)?            01/01/70 00:00      
            Languages            01/01/70 00:00      
   Line buffering?            01/01/70 00:00      
      furthermore Russell Bull            01/01/70 00:00      
      Line buffering            01/01/70 00:00      
         buffer            01/01/70 00:00      
            Serial Comms and Visual Basic            01/01/70 00:00      
               Another URL            01/01/70 00:00      
                  MSComm config            01/01/70 00:00      
                     More on VB setup            01/01/70 00:00      
                        VB Setup            01/01/70 00:00      
                           Code for 8051/VB            01/01/70 00:00      
                              Thank you            01/01/70 00:00      
   MSDN            01/01/70 00:00      
   Flush your buffers            01/01/70 00:00      
   Stu            01/01/70 00:00      
      REN ???            01/01/70 00:00      
         REN !!            01/01/70 00:00      
   Hardware/software            01/01/70 00:00      
      Got a MAX232 or 1488/9 chip?            01/01/70 00:00      
         MAX232 and oscilloscope            01/01/70 00:00      

Back to Subject List