#include <cphidgetir.h>
Public Attributes | |
int | bitCount |
int | carrierFrequency |
int | dutyCycle |
CPhidgetIR_Encoding | encoding |
int | gap |
int | header [2] |
CPhidgetIR_Length | length |
int | min_repeat |
int | one [2] |
int | repeat [IR_MAX_REPEAT_LENGTH] |
unsigned char | toggle_mask [IR_MAX_CODE_DATA_LENGTH] |
int | trail |
int | zero [2] |
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.
Definition at line 45 of file cphidgetir.h.
Number of bits in the code
Definition at line 47 of file cphidgetir.h.
Carrier frequency in Hz - defaults to 38kHz
Definition at line 58 of file cphidgetir.h.
Duty Cycle in percent (10-50). Defaults to 33
Definition at line 59 of file cphidgetir.h.
Encoding used to encode the data
Definition at line 48 of file cphidgetir.h.
Gap time in us
Definition at line 50 of file cphidgetir.h.
Header pulse and space - can be 0 for none
Definition at line 52 of file cphidgetir.h.
Constan or Variable length encoding
Definition at line 49 of file cphidgetir.h.
Minium number of times to repeat a code on transmit
Definition at line 56 of file cphidgetir.h.
Pulse and Space times to represent a '1' bit, in us
Definition at line 53 of file cphidgetir.h.
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.
Definition at line 55 of file cphidgetir.h.
unsigned char _CPhidgetIR_CodeInfo::toggle_mask |
Bit toggles, which are applied to the code after each transmit
Definition at line 57 of file cphidgetir.h.
Trail time in us - can be 0 for none
Definition at line 51 of file cphidgetir.h.
Pulse and Space times to represent a '0' bit, in us
Definition at line 54 of file cphidgetir.h.