Infrared transmit

An action block that transmits an IR command.

The fiber will proceed when the command has been transmitted.

The command pattern must be an array where each element is a microsecond duration, alternating between on and off: [on, off, on, off, on, …]. The total duration of a command, the sum of all element, may not be longer that 2 seconds (2 000 000 μs).

Note! This feature require an Android 4.4 device equipped with an IR emitter.

Input arguments