Skip to main content

Class Gc9a01

Represents a Gc9a01 TFT color display

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

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

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

Properties​

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 rotation of the display

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

Implements​

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