프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ClearBuffer | void | ||
EnsureInitializedAsync | System.Threading.Tasks.Task | ||
InitAllAsync | System.Threading.Tasks.Task | ||
InitBuffers | void | ||
InitDisplayAsync | System.Threading.Tasks.Task | ||
InitGpio | void | ||
InitSpiAsync | System.Threading.Tasks.Task | ||
SendCommand | void | ||
SendData | void | ||
SetAddressMode | void | ||
WriteBufferAsync | System.Threading.Tasks.Task |
메소드 | 설명 | |
---|---|---|
ClearAsync ( ) : IAsyncAction |
Clears the display.
|
|
Dispose ( ) : void | ||
FlipAsync ( ) : IAsyncAction |
Flips the display vertically.
|
|
MirrorAsync ( ) : IAsyncAction |
Mirrors the display horizontally.
|
|
ResetAsync ( ) : IAsyncAction |
Performs a hardware reset of the display
|
|
UpdateAsync ( ) : IAsyncAction |
Updates the display by writing the display buffer.
|
|
WritePixelAsync ( int x, int y, Color color ) : IAsyncAction |
Writes the specified pixel to the display.
|
메소드 | 설명 | |
---|---|---|
ClearBuffer ( ) : void |
Clears the internal display buffer.
|
|
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task |
Ensures that the display has been initialized and can be updated.
|
|
InitAllAsync ( ) : System.Threading.Tasks.Task |
Initializes GPIO, SPI, and the display
|
|
InitBuffers ( ) : void | ||
InitDisplayAsync ( ) : System.Threading.Tasks.Task |
Sends the SPI commands to power up and initialize the display
|
|
InitGpio ( ) : void |
Initializes GPIO
|
|
InitSpiAsync ( ) : System.Threading.Tasks.Task |
Initializes the SPI bus.
|
|
SendCommand ( byte command ) : void |
Sends a command to the controller.
|
|
SendData ( byte data ) : void |
Sends data to the controller.
|
|
SetAddressMode ( SSD1306AddressMode mode ) : void | ||
WriteBufferAsync ( ) : System.Threading.Tasks.Task |
Writes the buffer out to the physical display.
|
public WritePixelAsync ( int x, int y, Color color ) : IAsyncAction | ||
x | int | /// The x location of the pixel. /// |
y | int | /// The y location of the pixel. /// |
color | Color | /// The color of the pixel. /// |
리턴 | IAsyncAction |