n00b - short IR sequence learning...?

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

Moderator: jrhees

n00b - short IR sequence learning...?

Postby kusamochi » Wed Jul 06, 2005 6:52 am

I've build a little program from the api example as guideline and used very happily until my parents decided to change the air-conditioner. I would like to learn and record the air-con IR remote’s sequence from UIRT, but the sequence is too short it stop at 24% while learning. Since the fn_learnIR is from the dll, what can I do to learn it?

Than you so much for your help
Alan
kusamochi
 

Postby jrhees » Wed Jul 06, 2005 8:17 pm

Alan,

You will have to either use the lrnHelper app or modify your app to implement the 'Accept Burst' option. This option essentially sets the bLearnAbort (which is actually an integer) to -1. This behaves differently than setting it to 1 (which causes learning to abort) in that it treats a -1 as 'Accept Burst' and will return the burst IR code.

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 21 guests

cron