Table of Contents

Class Ssd1306

Namespace
Iot.Device.Ssd13xx
Assembly
Iot.Device.Ssd13xx.dll

A single-chip CMOS OLED/PLED driver with controller for organic/polymer light emitting diode dot-matrix graphic display system.

public class Ssd1306 : Ssd13xx
Inheritance
Ssd1306
Derived
Inherited Members

Constructors

Ssd1306(I2cDevice, DisplayResolution, DisplayOrientation, int, GpioController, bool)

Initializes a new instance of the Ssd1306 class. A single-chip CMOS OLED/PLED driver with controller for organic/polymer light emitting diode dot-matrix graphic display system.

public Ssd1306(I2cDevice i2cDevice, Ssd13xx.DisplayResolution res, DisplayOrientation orientation = DisplayOrientation.Landscape, int resetPin = -1, GpioController gpio = null, bool shouldDispose = true)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

res Ssd13xx.DisplayResolution

Display resolution.

orientation DisplayOrientation

Rotation of the display with reference to the hardware's default orientation.

resetPin int

Reset pin (some displays might be wired to share the microcontroller's reset pin).

gpio GpioController

Gpio Controller.

shouldDispose bool

True to dispose the GpioController.

Ssd1306(I2cDevice, int)

Initializes a new instance of the Ssd1306 class. A single-chip CMOS OLED/PLED driver with controller for organic/polymer light emitting diode dot-matrix graphic display system.

public Ssd1306(I2cDevice i2cDevice, int resetPin = -1)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

resetPin int

Reset pin (some displays might be wired to share the microcontroller's reset pin).

Fields

DefaultI2cAddress

Default I2C bus address.

public const byte DefaultI2cAddress = 60

Field Value

byte

SecondaryI2cAddress

Secondary I2C bus address.

public const byte SecondaryI2cAddress = 61

Field Value

byte

Methods

Dispose(bool)

Internal cleanup.

protected override void Dispose(bool disposing)

Parameters

disposing bool

Should dispose managed resources.

SendCommand(ISharedCommand)

Sends command to the device.

public override void SendCommand(ISharedCommand command)

Parameters

command ISharedCommand

Command being send.

SendCommand(ISsd1306Command)

Sends command to the device.

public void SendCommand(ISsd1306Command command)

Parameters

command ISsd1306Command

Command being send.