메소드 | 설명 | |
---|---|---|
ActivateScroll ( ) : void |
Activates the scroll.
|
|
ClearScreen ( ) : void |
Clears the screen.
|
|
DeactivateScroll ( ) : void |
Deactivates the scroll.
|
|
DrawImage ( byte image ) : void |
Draws the image.
|
|
DrawText ( IFont font, string text ) : void |
Draws the text.
|
|
GotoXY ( int column, int row ) : void |
Sets the current cursor position to the specified column and row.
|
|
InvertDisplay ( ) : void |
Inverts the display.
|
|
NormalDisplay ( ) : void |
Sets the display to normal mode.
|
|
Off ( ) : void |
Turns the display off.
|
|
On ( ) : void |
Turns the display on.
|
|
SetContrast ( int contrast ) : void |
Sets the contrast (brightness) of the display. Default is 127.
|
|
SetScrollProperties ( ScrollDirection direction, ScrollSpeed scrollSpeed, int startLine, int endLine ) : void |
Sets the scroll properties.
|
|
Ssd1306Connection ( Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection connection, int displayWidth = 128, int displayHeight = 64 ) : System |
Initializes a new instance of the Ssd1306Connection class.
|
메소드 | 설명 | |
---|---|---|
DrawStride ( byte data ) : void | ||
Initialize ( ) : void | ||
SendCommand ( ) : void |
public DrawText ( IFont font, string text ) : void | ||
font | IFont | Font. |
text | string | Text. |
리턴 | void |
public GotoXY ( int column, int row ) : void | ||
column | int | Column. |
row | int | Row. |
리턴 | void |
public SetContrast ( int contrast ) : void | ||
contrast | int | A number between 0 and 255. Contrast increases as the value increases. |
리턴 | void |
public SetScrollProperties ( ScrollDirection direction, ScrollSpeed scrollSpeed, int startLine, int endLine ) : void | ||
direction | ScrollDirection | Direction. |
scrollSpeed | ScrollSpeed | Scroll speed. |
startLine | int | Start line. |
endLine | int | End line. |
리턴 | void |
public Ssd1306Connection ( Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection connection, int displayWidth = 128, int displayHeight = 64 ) : System | ||
connection | Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection | The connection. |
displayWidth | int | The display displayWidth. |
displayHeight | int | The display displayHeight. |
리턴 | System |