After looking for examples, and fumbling with VB to get it to work with the display, I stumbled upon the following method after a brief call to CF tech support he informed me that I must send it in a byte format.....
This is a small example of how to program the display with VB. It should be compatible with all versions, assuming you have the MSComm control (Only Enterprise And Professional, I Think) added to the current project and it's called "MSComm".
Now does anyone have any clue of how to blank the screen?... Destructively remove all charectors from teh screen?... without having to go to each charector and delete it. Possibly a code sent directory to the controler would do this?
This is a small example of how to program the display with VB. It should be compatible with all versions, assuming you have the MSComm control (Only Enterprise And Professional, I Think) added to the current project and it's called "MSComm".
Code:
Private Sub Form_Load()
'Make RTS high, these lines power the LCD.
MSComm1.RTSEnable = True
'Make DTR high, these lines power the LCD.
MSComm1.DTREnable = True
'Set the settings for the port. 19200 baud, No parity, 8 data bits, 1 Stop bit.
MSComm1.Settings = "19200,n,8,1"
'Open the port.
MSComm1.PortOpen = True
'Send the cursor home.
MSComm1.Output = Chr(1)
'Change cursor type to Underline.
MSComm1.Output = Chr(5)
'Change Contrast to 55%
MSComm1.Output = Chr(15) & Chr(55)
MSComm1.Output = "Hello World!"
End Sub
Now does anyone have any clue of how to blank the screen?... Destructively remove all charectors from teh screen?... without having to go to each charector and delete it. Possibly a code sent directory to the controler would do this?
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.