class Nec::Display

Included Modules

Defined in:

nec/display.cr

Constant Summary

DELIMITER = 13_u8

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def audio_input(priority : Int32 = 0) #

[View source]
def auto_adjust #

[View source]
def auto_setup(priority : Int32 = 0) #

[View source]
def brightness(val : Int32) #

[View source]
def brightness_status(priority : Int32 = 0) #

[View source]
def connected #

[View source]
def contrast(val : Int32) #

[View source]
def contrast_status(priority : Int32 = 0) #

[View source]
def disconnected #

[View source]
def do_poll #

[View source]
def mute_audio(state : Bool = true, index : Int32 | String = 0) #

[View source]
def mute_status(priority : Int32 = 0) #

[View source]
def on_load #

[View source]
def power(state : Bool) #

[View source]
def power?(**options) : Bool #

[View source]
def power_on_delay(priority : Int32 = 0) #

[View source]
def power_query(priority : Int32 = 0) #

[View source]
def received(data, task) #

[View source]
def save(priority : Int32 = 0) #

[View source]
def set_power(priority : Int32 = 0) #

[View source]
def switch_audio(input : Audio) #

[View source]
def switch_to(input : Input) #
Description copied from module PlaceOS::Driver::Interface::InputSelection(Nec::Display::Input)

Switches all outputs to the requested input Special case switch_to 0 should mute all the outputs, if supported


[View source]
def video_input(priority : Int32 = 0) #

[View source]
def volume(val : Int32 | Float64) #

[View source]
def volume_down #

[View source]
def volume_status(priority : Int32 = 0) #

[View source]
def volume_up #

[View source]