class GlobalCache::Gc100

Included Modules

Defined in:

global_cache/gc_100.cr

Constant Summary

DELIMITER = "\r"

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def connected #

[View source]
def disconnected #

[View source]
def get_devices #

[View source]
def ir(index : Int32, command : String, **options) #

[View source]
def ir_status?(index : Int32, **options) #

[View source]
def on_load #

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

[View source]
def relay(state : Bool, index : Int32 = 0, **options) #
Description copied from module PlaceOS::Driver::Interface::ElectricalRelay

**options here will be passed to the task to allow for different priorities


[View source]
def relay_status?(index : Int32, **options) #

[View source]
def set_ir(index : Int32, mode : IrMode, **options) #

[View source]