Class SetContrastControlForBank0
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
byteContrast setting with a range of 0-255.
Properties
ContrastSetting
Gets contrast setting with a range of 0-255.
public byte ContrastSetting { get; }
Property Value
Id
The value that represents the command.
public byte Id { get; }
Property Value
Methods
GetBytes()
Gets the bytes that represent the command.
public byte[] GetBytes()
Returns
- byte[]
The bytes that represent the command.