Table of Contents

Class SetContrastControlForBank0

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

Represents SetContrastControlForBank0 command.

public class SetContrastControlForBank0 : ISharedCommand, ICommand
Inheritance
SetContrastControlForBank0
Implements

Constructors

SetContrastControlForBank0(byte)

Initializes a new instance of the SetContrastControlForBank0 class. This command sets the Contrast Setting of the display. The chip has 256 contrast steps from 0 to 255. The segment output current increases as the contrast step value increases.

public SetContrastControlForBank0(byte contrastSetting = 127)

Parameters

contrastSetting byte

Contrast setting with a range of 0-255.

Properties

ContrastSetting

Gets contrast setting with a range of 0-255.

public byte ContrastSetting { get; }

Property Value

byte

Id

The value that represents the command.

public byte Id { get; }

Property Value

byte

Methods

GetBytes()

Gets the bytes that represent the command.

public byte[] GetBytes()

Returns

byte[]

The bytes that represent the command.