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

Back to Subject List

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


 
#19795 - RE: Problems with C51 serial communications


Gerald Johnson wrote:
-------------------------------
I'm not a bad VB programmer

...but apparently you know very little about serial communications ;o)

Like Erik said, the startbit is generated by the hardware and no, there is no way around it!

Have you got anything in your VB code that looks like this:
frmMain.MSComm1.Settings = "115200,N,8,1"

If not, the serial port of your PC will not be initialised properly and you will not be able to send anything. The value '115200' is the baudrate, which you should set to the appropriate value. 'N,8,1' means there's no Parity bit, 8 databits and 1 Stop bit.

Good luck,
Rob Klein.

List of 16 messages in thread
TopicAuthorDate
Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      

Back to Subject List