Skip to main content

Class Sh1107

Represents the Sh1107 family of displays (up to 128x128)

Assembly: Sh110x.dll
View Source
Declaration
public class Sh1107 : Sh110x, IPixelDisplay, IDisplay, ISpiPeripheral, II2cPeripheral, IDisposable

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

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

Methods

Initialize()

Initialize the Sh1107

View Source
Declaration
protected override void Initialize()

SetDisplayOffsets(byte, byte)

This varies between manufacturers If the display is misaligned horizontally, try offset values like 0x00, 0x20, 0x40, etc. If the display is misaligned vertically, try offset values like 0x00, 0x20, 0x40, etc.

View Source
Declaration
public override void SetDisplayOffsets(byte startLine = 0, byte offset = 0)
Parameters
TypeNameDescription
System.BytestartLineLine number in display RAM to display at the top of the screen
System.ByteoffsetColumn number in display RAM to offset the screen

Implements

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