Hi
I have a 634 connector and am trying to write some VB code I was looking at your site to try to do this but I am a bit lost. I have found some information regarding connecting to LCD but this is in relation to serial ports will this work with the WRUSBY03 USB A(male) to 2mm connector cable. Will this code still work?Would you possibly be able to point me in the right direction for this? I would really appreciate any information that you can give me here is the code:
Thank you.
I have a 634 connector and am trying to write some VB code I was looking at your site to try to do this but I am a bit lost. I have found some information regarding connecting to LCD but this is in relation to serial ports will this work with the WRUSBY03 USB A(male) to 2mm connector cable. Will this code still work?Would you possibly be able to point me in the right direction for this? I would really appreciate any information that you can give me here is the code:
Code:
'---connect to the LCD using serial port---
Public Sub Connect(ByVal PortNo As String)
If serialPort.IsOpen Then
serialPort.Close()
End If
Try
With serialPort
.PortName = PortNo
.BaudRate = 19200
.Parity = IO.Ports.Parity.None
.DataBits = 8
.StopBits = IO.Ports.StopBits.One
.Handshake = IO.Ports.Handshake.None
End With
serialPort.Open()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.