class Sony::Projector::SerialControl
- Sony::Projector::SerialControl
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Sony::Projector::SerialControl::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
sony/projector/serial_control.crConstant Summary
-
DELIMITER =
154_u8
-
ERRORS =
{0 => "No Error", 1 => "Lamp Error", 2 => "Fan Error", 4 => "Cover Error", 8 => "Temperature Error", 16 => "D5V Error", 32 => "Power Error", 64 => "Warning Error", 128 => "NVM Data ERROR"}
-
INDICATOR =
169_u8
-
METHODS =
["Contrast", "Brightness", "Color", "Hue", "Sharpness"]
Class Method Summary
Instance Method Summary
- #brightness(value : UInt8)
- #brightness?
- #color(value : UInt8)
- #color?
- #connected
- #contrast(value : UInt8)
- #contrast?
- #disconnected
- #hue(value : UInt8)
- #hue?
- #input?
- #lamp_time?
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #mute?
- #on_load
- #power(state : Bool)
- #power?(priority : Int32 = 0, **options)
- #received(data, task)
- #sharpness(value : UInt8)
- #sharpness?
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported
Class Method Detail
Instance Method Detail
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
Description copied from module PlaceOS::Driver::Interface::InputSelection(Sony::Projector::SerialControl::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported