Skip to main content

Class Hx8357d

Represents a Hx8357d TFT color display

Assembly: TftSpi.dll
View Source
Declaration
public class Hx8357d : TftSpiBase, IPixelDisplay, IDisplay, ISpiPeripheral, IDisposable, IRotatableDisplay

Inheritance: System.Object -> Meadow.Foundation.Displays.TftSpiBase

Derived:
Meadow.Foundation.Displays.Hx8357b

Implements:
Meadow.Peripherals.Displays.IPixelDisplay, Meadow.Peripherals.Displays.IDisplay, Meadow.Hardware.ISpiPeripheral, System.IDisposable, Meadow.Peripherals.Displays.IRotatableDisplay

Properties

DefaultColorMode

The display default color mode

View Source
Declaration
public override ColorMode DefaultColorMode { get; }

SupportedColorModes

The color modes supported by the display

View Source
Declaration
public override ColorMode SupportedColorModes { get; }

Methods

Initialize()

Initialize the display

View Source
Declaration
protected override void Initialize()

SetRotation(RotationType)

Set the display rotation

View Source
Declaration
public void SetRotation(RotationType rotation)
Parameters
TypeNameDescription
Meadow.Peripherals.Displays.RotationTyperotationThe rotation value

Implements

  • Meadow.Peripherals.Displays.IPixelDisplay
  • Meadow.Peripherals.Displays.IDisplay
  • Meadow.Hardware.ISpiPeripheral
  • System.IDisposable
  • Meadow.Peripherals.Displays.IRotatableDisplay