Class Hx8357d
Represents a Hx8357d TFT color display
Assembly: TftSpi.dll
View Source
public class Hx8357d : TftSpiBase, IGraphicsDisplay, ISpiPeripheral, IDisposable, IRotatableDisplay
Inheritance: System.Object
-> Meadow.Foundation.Displays.TftSpiBase
Derived:
Meadow.Foundation.Displays.Hx8357b
Implements:
Meadow.Foundation.Graphics.IGraphicsDisplay, Meadow.Hardware.ISpiPeripheral
, System.IDisposable
, Meadow.Foundation.Graphics.IRotatableDisplay
Properties
DefaultColorMode
The display default color mode
View Source
public override ColorMode DefaultColorMode { get; }
SupportedColorModes
The color modes supported by the display
View Source
public override ColorMode SupportedColorModes { get; }
Methods
Initialize()
Initialize the display
View Source
protected override void Initialize()
SetRotation(RotationType)
Set the display rotation
View Source
public void SetRotation(RotationType rotation)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.RotationType | rotation | The rotation value |
Implements
- Meadow.Foundation.Graphics.IGraphicsDisplay
Meadow.Hardware.ISpiPeripheral
System.IDisposable
- Meadow.Foundation.Graphics.IRotatableDisplay