enum Nec::Display::Command

Defined in:

nec/display.cr

Enum Members

VideoInput = 96
AudioInput = 558
VolumeStatus = 98
MuteStatus = 141
PowerOnDelay = 728
ContrastStatus = 18
BrightnessStatus = 16
AutoSetup = 30
PowerQuery = 470
Save = 12
SetPower = 12714966

Instance Method Summary

Instance Method Detail

def audio_input? #

[View source]
def auto_setup? #

[View source]
def brightness_status? #

[View source]
def contrast_status? #

[View source]
def mute_status? #

[View source]
def power_on_delay? #

[View source]
def power_query? #

[View source]
def save? #

[View source]
def set_power? #

[View source]
def to_s : String #
Description copied from struct Enum

Returns a String representation of this enum member. In the case of regular enums, this is just the name of the member. In the case of flag enums, it's the names joined by vertical bars, or "None", if the value is zero.

If an enum's value doesn't match a member's value, the raw value is returned as a string.

Color::Red.to_s                     # => "Red"
IOMode::None.to_s                   # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"

Color.new(10).to_s # => "10"

[View source]
def video_input? #

[View source]
def volume_status? #

[View source]