Class Ssd1306
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
I2cDeviceThe I2C device used for communication.
res
Ssd13xx.DisplayResolutionDisplay resolution.
orientation
DisplayOrientationRotation of the display with reference to the hardware's default orientation.
resetPin
intReset pin (some displays might be wired to share the microcontroller's reset pin).
gpio
GpioControllerGpio Controller.
shouldDispose
boolTrue 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
I2cDeviceThe I2C device used for communication.
resetPin
intReset 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
SecondaryI2cAddress
Secondary I2C bus address.
public const byte SecondaryI2cAddress = 61
Field Value
Methods
Dispose(bool)
Internal cleanup.
protected override void Dispose(bool disposing)
Parameters
disposing
boolShould dispose managed resources.
SendCommand(ISharedCommand)
Sends command to the device.
public override void SendCommand(ISharedCommand command)
Parameters
command
ISharedCommandCommand being send.
SendCommand(ISsd1306Command)
Sends command to the device.
public void SendCommand(ISsd1306Command command)
Parameters
command
ISsd1306CommandCommand being send.