|
-
Nov 6th, 2005, 06:36 AM
#1
Thread Starter
Lively Member
code testing
when sending 8 bits to the serial port and testing the length of characters inside the output buffer , it returns 0 which means nottin is getting to teh serial port
Private Sub Form_Load()
MSComm1.CommPort = 1
MSComm1.Settings = "2400,N,8,1"
MSComm1.DTREnable = True
MSComm1.PortOpen = True
MSComm1.Output = "11110010"
Text1.Text = 11110010
Text2.Text = MSComm1.OutBufferCount
MSComm1.PortOpen = False
end sub
any ideas to get this code work?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|