C# Class Microsoft.IoT.Devices.Display.ST7735

A driver for displays controlled by the ST7735 controller such as the Adafruit 1.8" color display.
This driver is adapted from several resources including Netduino Helpres and the Adafruit library for ST7735.
Inheritance: IGraphicsDisplay, IDevice, IDisposable
ファイルを表示 Open project: jbienzms/iot-devices Class Usage Examples

Private Properties

Property Type Description
ClearScreen void
EnsureInitializedAsync System.Threading.Tasks.Task
InitDisplayAsync System.Threading.Tasks.Task
InitDisplayBAsync System.Threading.Tasks.Task
InitDisplayRAsync System.Threading.Tasks.Task
InitGpio void
InitSpiAsync System.Threading.Tasks.Task
SetAddressWindow void
SetOrientation void
SetPixel void
SetRamMode void
Write void
Write void

Public Methods

Method Description
Clear ( ) : void
Dispose ( ) : void
DrawPixel ( int x, int y, Color color ) : void
DrawPixel ( int x, int y, byte red, byte green, byte blue ) : void
InitializeAsync ( ) : IAsyncAction

Initializes the display.

IsOrientationSupported ( DisplayOrientations orientation ) : bool
Update ( ) : void

Private Methods

Method Description
ClearScreen ( Color col ) : void
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task
InitDisplayAsync ( ) : System.Threading.Tasks.Task
InitDisplayBAsync ( ) : System.Threading.Tasks.Task
InitDisplayRAsync ( ) : System.Threading.Tasks.Task
InitGpio ( ) : void
InitSpiAsync ( ) : System.Threading.Tasks.Task
SetAddressWindow ( byte x0, byte y0, byte x1, byte y1 ) : void
SetOrientation ( bool flipWidthAndHeight ) : void
SetPixel ( int x, int y, uint nativeColor ) : void
SetRamMode ( ) : void
Write ( byte command ) : void
Write ( long address, byte data ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawPixel() public method

public DrawPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void

DrawPixel() public method

public DrawPixel ( int x, int y, byte red, byte green, byte blue ) : void
x int
y int
red byte
green byte
blue byte
return void

InitializeAsync() public method

Initializes the display.
public InitializeAsync ( ) : IAsyncAction
return IAsyncAction

IsOrientationSupported() public method

public IsOrientationSupported ( DisplayOrientations orientation ) : bool
orientation DisplayOrientations
return bool

Update() public method

public Update ( ) : void
return void