| View previous topic :: View next topic |
| Author |
Message |
Léo Guest
|
Posted: Sun Jun 18, 2006 12:42 am Post subject: repeat count |
|
|
Hello,
Can you explain me how you allots a negative value has repeat count please?
Léo |
|
| Back to top |
|
 |
Léo Guest
|
Posted: Tue Jun 20, 2006 6:59 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
jrhees Site Admin
Joined: 28 Jan 2003 Posts: 1652
|
Posted: Tue Jun 20, 2006 10:47 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jun 21, 2006 6:10 am Post subject: |
|
|
Thanks Jon  |
|
| Back to top |
|
 |
|