module

PlaceOS::Driver::Interface::ElectricalRelay

Instance methods

pulse(period : Int32 = 1000, index : Int32 = 0, times : Int32 = 1, initial_state : Bool = false)
Source
relay(state : Bool, index : Int32 = 0, **options)

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

Source