ClearLCD Method

Beta Innovations USB SDK .NET/COM

Sends a command to clear contents of the LCD screen. This function can be used on modules supporting character based LCDs.

Namespace:  BIUSBWrapper
Assembly:  BIUSBWrapper (in BIUSBWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ClearLCD ( _
	ByRef iDeviceList As DeviceParam, _
	inLCD As Byte _
) As Integer
C#
public static int ClearLCD(
	ref DeviceParam iDeviceList,
	byte inLCD
)

Parameters

iDeviceList
Type: BIUSBWrapper..::.DeviceParam %
A DeviceParam structure. Must contain valid device information returned from call to DetectHID.
inLCD
Type: System..::.Byte
Zero based index of LCD to be cleared. Currently not support. Leave as 0.

Return Value

0: If failure writing to device.

>0: if success, returns number of bytes written to device.

See Also