Device:sender()
Device:sender(unit_id[, value])
This method creates a native-action to send a value to output unit.
Parameters
Parameter | Type | Description |
---|---|---|
unit_id | number | Output device unit ID. |
value | number | Value to be sent. If this parameter is not specified, the event value is sent to the output device unit. |
Return Values
This method returns a native-action.