USB-UIRT Forum Forum Index USB-UIRT Forum
Plug-n-Play IR Solution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

repeat count

 
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers
View previous topic :: View next topic  
Author Message
Léo
Guest





PostPosted: Sun Jun 18, 2006 12:42 am    Post subject: repeat count Reply with quote

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

Léo
Back to top
Léo
Guest





PostPosted: Tue Jun 20, 2006 6:59 pm    Post subject: Reply with quote

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

PostPosted: Tue Jun 20, 2006 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Guest






PostPosted: Wed Jun 21, 2006 6:10 am    Post subject: Reply with quote

Thanks Jon Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group