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
Afficher le fichier Open project: jbienzms/iot-devices Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Clear ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawPixel() public méthode

public DrawPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void

DrawPixel() public méthode

public DrawPixel ( int x, int y, byte red, byte green, byte blue ) : void
x int
y int
red byte
green byte
blue byte
Résultat void

InitializeAsync() public méthode

Initializes the display.
public InitializeAsync ( ) : IAsyncAction
Résultat IAsyncAction

IsOrientationSupported() public méthode

public IsOrientationSupported ( DisplayOrientations orientation ) : bool
orientation DisplayOrientations
Résultat bool

Update() public méthode

public Update ( ) : void
Résultat void