class Lg::Displays::Ls5

Included Modules

Defined in:

lg/displays/ls5.cr

Constant Summary

DELIMITER = 120_u8

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def aspect_ratio(ratio : Ratio) #

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

[View source]
def auto_off(state : Bool = false) #

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

[View source]
def brightness(value : Float64 | Int32) #

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

[View source]
def connected #

[View source]
def contrast(value : Float64 | Int32) #

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

[View source]
def disconnected #

[View source]
def do_poll #

[View source]
def hard_off #

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

[View source]
def local_button_lock(state : Bool = true) #

0 = Off, 1 = lock all except Power buttons, 2 = lock all buttons. Default to 2 as power off from local button results in network offline


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

[View source]
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo) #
Description copied from module PlaceOS::Driver::Interface::Muteable

When implementing muteable, these should be the preferred defaults


[View source]
def no_signal_off(state : Bool = false) #

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

[View source]
def on_load #

[View source]
def on_update #

[View source]
def pm_mode(mode : Int32 = 3) #

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

[View source]
def power(state : Bool, broadcast : String | Nil = nil) #

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

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

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

[View source]
def sharpness(value : Float64 | Int32) #

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

[View source]
def switch_to(input : Input, **options) #

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

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

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

[View source]
def wake(broadcast : String | Nil = nil) #

[View source]
def wake_on_lan(state : Bool = true) #

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

[View source]