class Sharp::PnSeries
- Sharp::PnSeries
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Sharp::PnSeries::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
sharp/pn_series.crConstant Summary
-
AUDIO =
{audio1: "ASDP 2", audio2: "ASDP 3", dvi: "ASDP 1", dvi_alt: "ASDA 1", hdmi: "ASHP 0", hdmi_3mm: "ASHP 1", hdmi_rca: "ASHP 2", vga: "ASAP 1", component: "ASCA 1"}
-
AUDIO_RESPONSE =
AUDIO.to_h.invert
-
DELIMITER =
"\r\n"
-
OPERATION_CODE =
{video_input: "INPS", volume_status: "VOLM", mute_status: "MUTE", power_on_delay: "PWOD", contrast_status: "CONT", brightness_status: "VLMP", model_number: "INF1"}
Class Method Summary
Instance Method Summary
- #auto_adjust
- #brightness(val : Int32 | Float64)
- #brightness_status(priority : Int32 = 0, **options)
- #connected
- #contrast(val : Int32 | Float64)
- #contrast_status(priority : Int32 = 0, **options)
- #disconnected
- #do_poll
- #model_number(priority : Int32 = 0, **options)
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
There seems to only be audio mute available
- #mute_status(priority : Int32 = 0, **options)
- #on_load
- #power(state : Bool)
- #power?(**options)
- #power_on_delay(priority : Int32 = 0, **options)
- #received(data, task)
-
#reset
Resets the brightness and contrast settings
- #switch_audio(input : String)
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported - #video_input(priority : Int32 = 0, **options)
- #volume(val : Int32 | Float64)
- #volume_down
- #volume_status(priority : Int32 = 0, **options)
- #volume_up
Class Method Detail
Instance Method Detail
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
#
There seems to only be audio mute available
Description copied from module PlaceOS::Driver::Interface::InputSelection(Sharp::PnSeries::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported