module PlaceOS::Driver::Interface::ElectricalRelay

Defined in:

placeos-driver/interface/electrical_relay.cr

Instance Method Summary

Instance Method Detail

def pulse(period : Int32 = 1000, index : Int32 = 0, times : Int32 = 1, initial_state : Bool = false) #

[View source]
abstract def relay(state : Bool, index : Int32 = 0, **options) #

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


[View source]