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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/08/02 02:45
Read: times


 
#25409 - RE: SERIAL COMMUNICATION USING VB6
"I'm not sure what you mean by the UC sending/receiving in "hex" format. Anything can be represented as hex. "


I only meant that computer represents numbers by ASCII value. If 5 is directly sent by computer, microcontroller will take it as 53.


"If UC sends data 234 as 8 bit data, what will be the output of instruction:
Text1.Text =MSComm1.Input ? (ASCII character of '234' or '234')
It will be the ASCII character 234"


I want to dispaly same value that is sent by UC.Then what is the way to display 234? The following instruction did not work:
Text1.Text=Asc(MScomm1.Input)

List of 18 messages in thread
TopicAuthorDate
SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood            01/01/70 00:00      
RE: Mahmood - Rob            01/01/70 00:00      
RE: Andy - Rob            01/01/70 00:00      
RE: Mahmood - Rob            01/01/70 00:00      
RE: Rob            01/01/70 00:00      
   how if Chr(129)...?            01/01/70 00:00      
RE: Rob            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      
RE: SERIAL COMMUNICATION USING VB6            01/01/70 00:00      

Back to Subject List