Receiving signals from IR ports

irX[num num num...]

Parameters

X

A 0-7 decimal number indicating which IR port the signal came in on.

num num num...

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

Remarks

None.

Example

lowlevel:ir3[2500.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 1300.0 -500.0 500.0 -700.0 600.0 -700.0 1100.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -27300.0 2500.0 -500.0 800.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 1300.0 -500.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 -27900.0 2300.0 -700.0 500.0 -700.0 500.0 -400.0 700.0 -700.0 500.0 -500.0 1300.0 -500.0 700.0 -700.0 500.0 -500.0 1300.0 -500.0 700.0 -500.0 800.0 -500.0 500.0 -700.0 500.0 -27900.0 2500.0 -500.0 500.0 -700.0 500.0 -700.0 500.0 -700.0 600.0 -700.0 1100.0 -700.0 500.0 -700.0 500.0 -700.0 1100.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -600.0 500.0 -27700.0 2500.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 1300.0 -400.0 700.0 -500.0 700.0 -500.0 1100.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -27800.0 2300.0 -700.0 500.0 -700.0 500.0 -700.0 500.0 -500.0 700.0 -700.0 1100.0 -500.0 700.0 -500.0 800.0 -500.0 1300.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -500.0 700.0 -50000.0] would be a typical resonse if the "ch+" button was hit on a Sony IR remote that was received on port IRRX3.