C# 클래스 RemoteLedMatrix.Lpd8806Matrix

Implementation of ILedMatrix for LPD8806/WS2801 based RGB leds, arranged into a single long serial strand. The first pixel is in the bottom left hand corner with the strand running upwards. The second strand starts at the top and runs downwards. Functionally, this means we need to flip every other column of color data to display properly.
상속: ILedMatrix
파일 보기 프로젝트 열기: ms-iot/LEDMatrix

공개 메소드들

메소드 설명
DisplayImage ( WriteableBitmap image ) : System.Threading.Tasks.Task

Displays an image on the LED matrix

Initialize ( ) : void

Sends a command to initialize the LED matrix

Lpd8806Matrix ( int width, int height ) : System.Collections.Generic

Initializes a new instance of the Lpd8806Matrix class.

메소드 상세

DisplayImage() 공개 메소드

Displays an image on the LED matrix
public DisplayImage ( WriteableBitmap image ) : System.Threading.Tasks.Task
image Windows.UI.Xaml.Media.Imaging.WriteableBitmap Bitmap to display on the LED matrix
리턴 System.Threading.Tasks.Task

Initialize() 공개 메소드

Sends a command to initialize the LED matrix
public Initialize ( ) : void
리턴 void

Lpd8806Matrix() 공개 메소드

Initializes a new instance of the Lpd8806Matrix class.
public Lpd8806Matrix ( int width, int height ) : System.Collections.Generic
width int Width in pixels of the LED Matrix
height int Height in pixels of the LED Matrix
리턴 System.Collections.Generic