repeat count

Interested in integrating USB-UIRT support into an application? Look here!

Moderator: jrhees

repeat count

Postby Léo » Sun Jun 18, 2006 12:42 am

Hello,
Can you explain me how you allots a negative value has repeat count please?

Léo
Léo
 

Postby Léo » Tue Jun 20, 2006 6:59 pm

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
Léo
 

Postby jrhees » Tue Jun 20, 2006 10:47 pm

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
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm

Postby Guest » Wed Jun 21, 2006 6:10 am

Thanks Jon :wink:
Guest
 


Return to Developers

Who is online

Users browsing this forum: No registered users and 16 guests

cron