Transmitting an IR signal

ir[num1 num2 num3...]

Parameters

num

The number of microseconds on (positive numbers) or off (negative numbers).

Remarks

This command should always be proceeded by a carrier and a irtxports (only necessary on V2.0 and later) command to properly specify what carrier frequency and IR ports should be used. One cannot assume that these will be the same as you left them from the previous transmission as other clients or threads in your own application may have transmitted something in the interim.

Example

lowlevel:carrier[40000.0]
lowlevel:irtxports[1]
lowlevel:irtxports[2500.0 -500.0 1100.0 -700.0 500.0 -700.0 1100.0 -500.0 700.0 -500.0 1300.0 -500.0 700.0 -700.0 600.0 -700.0 1100.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -26100.0 2500.0 -500.0 1200.0 -700.0 500.0 -700.0 1100.0 -700.0 500.0 -700.0 1100.0 -700.0 500.0 -700.0 500.0 -700.0 1100.0 -600.0 500.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -26500.0 2500.0 -500.0 1300.0 -500.0 700.0 -400.0 1300.0 -500.0 700.0 -500.0 1100.0 -700.0 700.0 -500.0 500.0 -700.0 1100.0 -700.0 500.0 -700.0 600.0 -700.0 500.0 -700.0 500.0 -26700.0 2300.0 -700.0 1100.0 -700.0 500.0 -500.0 1300.0 -500.0 800.0 -500.0 1300.0 -500.0 700.0 -500.0 700.0 -500.0 1300.0 -500.0 500.0 -700.0 500.0 -700.0 500.0 -600.0 500.0 -50000.0]

would send a "power" IR command to a Sony TV on IRTX0