C# 클래스 Microsoft.IoT.Devices.Display.SSD1306

A driver for the SSD1306 SPI display controller.
상속: IDisposable, ISpiBasedDevice
파일 보기 프로젝트 열기: jbienzms/iot-devices

Private Properties

프로퍼티 타입 설명
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.

메소드 상세

ClearAsync() 공개 메소드

Clears the display.
public ClearAsync ( ) : IAsyncAction
리턴 IAsyncAction

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FlipAsync() 공개 메소드

Flips the display vertically.
public FlipAsync ( ) : IAsyncAction
리턴 IAsyncAction

MirrorAsync() 공개 메소드

Mirrors the display horizontally.
public MirrorAsync ( ) : IAsyncAction
리턴 IAsyncAction

ResetAsync() 공개 메소드

Performs a hardware reset of the display
public ResetAsync ( ) : IAsyncAction
리턴 IAsyncAction

UpdateAsync() 공개 메소드

Updates the display by writing the display buffer.
public UpdateAsync ( ) : IAsyncAction
리턴 IAsyncAction

WritePixelAsync() 공개 메소드

Writes the specified pixel to the 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