Creates a new Code Info object.
Namespace:
Phidgets
Assembly:
Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public IRCodeInfo(
IRCodeInfo..::.IREncoding encoding,
int bitCount,
int[] header,
int[] zero,
int[] one,
int trail,
int gap,
int[] repeat,
int minRepeat,
byte[] toggleMask,
IRCodeInfo..::.IRCodeLength length,
int carrierFrequency,
int dutyCycle
) |
Visual Basic (Declaration) |
---|
Public Sub New ( _
encoding As IRCodeInfo..::.IREncoding, _
bitCount As Integer, _
header As Integer(), _
zero As Integer(), _
one As Integer(), _
trail As Integer, _
gap As Integer, _
repeat As Integer(), _
minRepeat As Integer, _
toggleMask As Byte(), _
length As IRCodeInfo..::.IRCodeLength, _
carrierFrequency As Integer, _
dutyCycle As Integer _
) |
Visual C++ |
---|
public:
IRCodeInfo(
IRCodeInfo..::.IREncoding encoding,
int bitCount,
array<int>^ header,
array<int>^ zero,
array<int>^ one,
int trail,
int gap,
array<int>^ repeat,
int minRepeat,
array<unsigned char>^ toggleMask,
IRCodeInfo..::.IRCodeLength length,
int carrierFrequency,
int dutyCycle
) |
Parameters
- encoding
- Type: Phidgets..::.IRCodeInfo..::.IREncoding
Encoding.
- bitCount
- Type: System..::.Int32
Code length.
- header
- Type: array<
System..::.Int32
>[]()[]
Header data.
- zero
- Type: array<
System..::.Int32
>[]()[]
Zero data.
- one
- Type: array<
System..::.Int32
>[]()[]
One data.
- trail
- Type: System..::.Int32
Trailing pulse length.
- gap
- Type: System..::.Int32
Gap length
- repeat
- Type: array<
System..::.Int32
>[]()[]
Repeat code data.
- minRepeat
- Type: System..::.Int32
Number of times to repeat code.
- toggleMask
- Type: array<
System..::.Byte
>[]()[]
Code bits to toggle on each send.
- length
- Type: Phidgets..::.IRCodeInfo..::.IRCodeLength
Constant or variable length code.
- carrierFrequency
- Type: System..::.Int32
Carrier frequency.
- dutyCycle
- Type: System..::.Int32
Duty cycle.
See Also