Class Rm68140
Represents a Rm68140 TFT color display
Assembly: TftSpi.dll
View Source
Declaration
public class Rm68140 : TftSpiBase, IPixelDisplay, IDisplay, ISpiPeripheral, IDisposable, IRotatableDisplay
Inheritance: System.Object
-> Meadow.Foundation.Displays.TftSpiBase
Implements:
Meadow.Peripherals.Displays.IPixelDisplay
, Meadow.Peripherals.Displays.IDisplay
, Meadow.Hardware.ISpiPeripheral
, System.IDisposable
, Meadow.Peripherals.Displays.IRotatableDisplay
Properties
DefaultColorMode
The default display 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
Type | Name | Description |
---|---|---|
Meadow.Peripherals.Displays.RotationType | rotation | The rotation value |
Implements
Meadow.Peripherals.Displays.IPixelDisplay
Meadow.Peripherals.Displays.IDisplay
Meadow.Hardware.ISpiPeripheral
System.IDisposable
Meadow.Peripherals.Displays.IRotatableDisplay