C# Class RemoteLedMatrix.LedMatrixPanel

Implementation of ILedMatrix for the AdaFruit 32x32 LED MatrixPanel
Inheritance: ILedMatrix
Show file Open project: ms-iot/LEDMatrix

Public Methods

Method Description
DisplayImage ( WriteableBitmap image ) : System.Threading.Tasks.Task

Displays an image on the LED matrix

Initialize ( ) : void

Sends a command to initialize the LED matrix

LedMatrixPanel initialization is handled purely on the Arduino side for this particular hardware.

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

Initializes a new instance of the LedMatrixPanel class.

Method Details

DisplayImage() public method

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
return System.Threading.Tasks.Task

Initialize() public method

Sends a command to initialize the LED matrix
LedMatrixPanel initialization is handled purely on the Arduino side for this particular hardware.
public Initialize ( ) : void
return void

LedMatrixPanel() public method

Initializes a new instance of the LedMatrixPanel class.
public LedMatrixPanel ( 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
return System.Collections.Generic