| Description: |
| |
A Hardware Object that outputs characters to a Wirz SLI-OEM LCD Controller Module. |
| Operation: |
| |
When the oLCD Object's Value property is set to the ASCII value of a character, that character is sent out the I/O Lines specified by the IOLine property in such a way that a Wirz LCD controller module will display the character. Setting the String property to a string of characters will sequentially send each character in the string to the LCD module. Invoking the Locate method will cause the LCD's cursor to be positioned on the LCD's screen at the specified X-Y coordinates. Invoking the Clear method will cause the LCD module to clear its screen of any characters. |
| Storage size & Availability: |
| |
The following table lists the size and availability of the oLCDWZ Object and its variations:
| Object | Size | Version |
 |
oLCDWZ |
5 Bytes |
B.1.0 |
|
| Properties: |
| |
The following table lists the Properties of the oLCDWZ Object:
| Property | Description |
| Address |
Returns a pointer to the address of the oLCDWZ Object instance. Data-Type: Address, Read-Only Data-Range: 0 - 127 |
| Baud |
A value that specifies the baud rate to use. Data-Type: Nibble Data-Range: 0 - 7 Default Value: 2 The following table lists the values of the Baud Property:
| Baud | Constant |
Description |
| 4 | cv19200 |
The serial data communicates at 19200 Baud. (Default) |
| 0, 1, 2, 3, 5, 6, 7 | |
Reserved |
|
| IOLine |
A value that specifies the physical I/O Line to use for serial communications. Data-Type: Byte Data-Range: 0 - 31 |
| Operate |
A value that specifies whether or not the data is updated. Data-Type: Bit, Flag Data-Range: 0 - 1 |
| String |
The Value property represented as a string. Data-Type: String Data-Range: 0 - 255 |
| Value |
The value of any ASCII or control character. Data-Type: Byte, Default Data-Range: 0 - 255 |
|
| Methods: |
|
| Methods | Description |
| Clear |
Clears the LCD screen. |
| Locate |
Sets the cursor to the specified location. The Locate command uses two arguments; Row & Column, both of which are 0 based. Example: X.Locate(0,1) ' will locate cursor at 1st row, 2nd column. Example: X.Locate(1,9) ' will locate cursor at 2nd row, 10th column. |
|
| Example: |
| |
In the following example, the oLCDWZ Object is used.
'This program prints "Testing"
'to a Wirz SLI-OEM serial LCD
Dim A As New oLCDWZ
Sub Main()
A.IOLine = 16
A.Clear
A.String = "Testing"
End Sub
|
|
| Connections: |
|
The oLCDWZ uses one I/O line. This I/O line is connected to the data line of the Wirz SLI-OEM LCD Controller Module. |
| See Also: |
| |
oLCD - An Object that uses a LCD module. oLCDSE - An Object that outputs characters to a Scott Edwards LCD Module. oVideoIC - An Object that overlays text on a video signal using an Intuitive Circuits OSD232 On-Screen Display Character Overlay Board. |