C# 클래스 CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent

An LCD display device abstraction component.
상속: LcdBase, ILcd
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
ClearDisplay ( ) : void

Clears the display.

Dispose ( ) : void

Releases all resource used by the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent object.

Call Dispose when you are finished using the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent. The Dispose method leaves the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent was occupying.

LcdComponent ( ILcdTransferProvider provider, Int32 rows, Int32 columns ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent class with the LCD transfer provider and the rows and columns of the display.

SetCursorHome ( ) : void

Sets the cursor in the home position.

SetCursorPosition ( Int32 row, Int32 column ) : void

Positions the cursor at the specified column in the specified row.

ToString ( ) : String

Returns a System.String that represents the current CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent.

Write ( Byte data ) : void

Write the specified data to the display.

메소드 상세

ClearDisplay() 공개 메소드

Clears the display.
public ClearDisplay ( ) : void
리턴 void

Dispose() 공개 메소드

Releases all resource used by the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent object.
Call Dispose when you are finished using the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent. The Dispose method leaves the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent in an unusable state. After calling Dispose, you must release all references to the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent so the garbage collector can reclaim the memory that the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent was occupying.
public Dispose ( ) : void
리턴 void

LcdComponent() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent class with the LCD transfer provider and the rows and columns of the display.
public LcdComponent ( ILcdTransferProvider provider, Int32 rows, Int32 columns ) : System
provider ILcdTransferProvider /// The LCD transfer provider. ///
rows System.Int32 /// The number of rows in the display. ///
columns System.Int32 /// The number of columns. ///
리턴 System

SetCursorHome() 공개 메소드

Sets the cursor in the home position.
public SetCursorHome ( ) : void
리턴 void

SetCursorPosition() 공개 메소드

Positions the cursor at the specified column in the specified row.
public SetCursorPosition ( Int32 row, Int32 column ) : void
row System.Int32 /// The number of the row to position the cursor in. ///
column System.Int32 /// The number of the column in the specified row to position the cursor. ///
리턴 void

ToString() 공개 메소드

Returns a System.String that represents the current CyrusBuilt.MonoPi.Components.LcdDisplay.LcdComponent.
public ToString ( ) : String
리턴 String

Write() 공개 메소드

Write the specified data to the display.
public Write ( Byte data ) : void
data Byte /// The string reperesentation of the data to write. ///
리턴 void