| View previous topic :: View next topic |
| Author |
Message |
kusamochi
Joined: 11 Oct 2004 Posts: 1
|
Posted: Wed Jul 06, 2005 6:52 am Post subject: n00b - short IR sequence learning...? |
|
|
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 |
|
| Back to top |
|
 |
jrhees Site Admin
Joined: 28 Jan 2003 Posts: 1652
|
Posted: Wed Jul 06, 2005 8:17 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|