_CPhidgetIR_CodeInfo Struct Reference
[Phidget IR]


Data Fields

int bitCount
CPhidgetIR_Encoding encoding
CPhidgetIR_Length length
int gap
int trail
int header [2]
int one [2]
int zero [2]
int repeat [26]
int min_repeat
unsigned char toggle_mask [(128/8)]
int carrierFrequency
int dutyCycle

Detailed Description

The PhidgetIR CodeInfo structure contains all information needed to transmit a code, apart from the actual code data. Some values can be set to null to select defaults. See the product manual for more information.

Field Documentation

Number of bits in the code

Encoding used to encode the data

Constan or Variable length encoding

Gap time in us

Trail time in us - can be 0 for none

Header pulse and space - can be 0 for none

Pulse and Space times to represent a '1' bit, in us

Pulse and Space times to represent a '0' bit, in us

A series or pulse and space times to represent the repeat code. Start and end with pulses and null terminate. Set to 0 for none.

Minium number of times to repeat a code on transmit

unsigned char _CPhidgetIR_CodeInfo::toggle_mask[(128/8)]

Bit toggles, which are applied to the code after each transmit

Carrier frequency in Hz - defaults to 38kHz

Duty Cycle in percent (10-50). Defaults to 33


Generated on Wed Jan 5 12:08:42 2022 for Phidget21 by  doxygen 1.5.9