Class Ssd1331
Represents a Ssd1331 S6D02A1 TFT color display
Assembly: TftSpi.dll
View Source
public class Ssd1331 : TftSpiBase, IGraphicsDisplay, ISpiPeripheral, IDisposable
Inheritance: System.Object
-> Meadow.Foundation.Displays.TftSpiBase
Implements:
Meadow.Foundation.Graphics.IGraphicsDisplay, Meadow.Hardware.ISpiPeripheral
, System.IDisposable
Properties
DefaultColorMode
The default display 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()
SetAddressWindow(int, int, int, int)
Set address window for display updates
View Source
protected override void SetAddressWindow(int x0, int y0, int x1, int y1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x0 | X start in pixels |
System.Int32 | y0 | Y start in pixels |
System.Int32 | x1 | X end in pixels |
System.Int32 | y1 | Y end in pixels |
Implements
- Meadow.Foundation.Graphics.IGraphicsDisplay
Meadow.Hardware.ISpiPeripheral
System.IDisposable