repeat count

Posted:
Sun Jun 18, 2006 12:42 am
by Léo
Hello,
Can you explain me how you allots a negative value has repeat count please?
Léo

Posted:
Tue Jun 20, 2006 6:59 pm
by Léo
I use this line of code:
SendCommand = UUIRTTransmitIR (hDrvHandle, IRCode, nFormat, 10, 0, 0, 0, 0)
10 is the value repeat count.
Can somebody how make so that this value is infinite?
Cordialy
Léo

Posted:
Tue Jun 20, 2006 10:47 pm
by jrhees
Leo,
You can implement an 'infinite' repeat count by passing 32767 as the repeatCount. Then, the USB-UIRT will continuously transmit until you call TransmitIR again with a repeatCount of 0.
-Jon