C# Класс 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.
Наследование: IGraphicsDisplay, IDevice, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Clear() публичный Метод

public Clear ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

DrawPixel() публичный Метод

public DrawPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Результат void

DrawPixel() публичный Метод

public DrawPixel ( int x, int y, byte red, byte green, byte blue ) : void
x int
y int
red byte
green byte
blue byte
Результат void

InitializeAsync() публичный Метод

Initializes the display.
public InitializeAsync ( ) : IAsyncAction
Результат IAsyncAction

IsOrientationSupported() публичный Метод

public IsOrientationSupported ( DisplayOrientations orientation ) : bool
orientation DisplayOrientations
Результат bool

Update() публичный Метод

public Update ( ) : void
Результат void