Set IR Carrier Frequency

Command Code

Binary: [1 0 0 1 1 1 1 1] [0 0 0 0 0 1 1 0] [carrier_period_exponent] [carrier_period_mantissa]

Description

This command sets the IR carrier frequency, which is a parameter that controls how the Slink-e generates and detects IR messages. See Carrier Frequency.

The "carrier_period_exponent" and "carrier_period_mantissa" bytes determine the IR carrier frequency to be set as follows: The bytes are the pure binary encoding of the numbers E and M (respectively). The IR carrier period is (2^E)*(M+1)/5 microseconds. The IR carrier frequency is the reciprocal of the IR carrier period.

The special value of zero for both the exponent and mantissa means no carrier at all (i.e. no light modulation; the Slink-e generates steady light during an on pulse and no light during an off pulse).

The exponent must be from 0 to 3, while the mantissa may be any value. Hence (after excluding the special (0,0) case), you can specify frequencies in the range 2.4 KHz to 2.5 MHz.

The factory default carrier frequency is 40 KHz.

Responses

The Slink-e normally generates a IR Carrier Frequency Is Control Report to confirm that it executed your command.