634 VB program problems

efia

New member
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:
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
Thank you.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

Heffo

New member
The physical connection between your LCD and PC doesn't really matter, in the end you wind up with a COM port, so your code will work with the RS232 and USB versions. Although with the USB ones you can use a baud rate of 115200.
 
USB LCD Displays - Graphic and Character LCDs with a Keypad
Top