module PlaceOS::Driver::Interface::ElectricalRelay
Defined in:
placeos-driver/interface/electrical_relay.crInstance Method Summary
- #pulse(period : Int32 = 1000, index : Int32 = 0, times : Int32 = 1, initial_state : Bool = false)
-
#relay(state : Bool, index : Int32 = 0, **options)
**options
here will be passed to thetask
to allow for different priorities
Instance Method Detail
def pulse(period : Int32 = 1000, index : Int32 = 0, times : Int32 = 1, initial_state : Bool = false)
#
abstract
def relay(state : Bool, index : Int32 = 0, **options)
#
**options
here will be passed to the task
to allow for different priorities