Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : Using an Apple IR Remote with MicroMite

   Page 2 of 2    
Posted: 06:45am
13 Aug 2014
Copy link to clipboard
WhiteWizzard
Guru

One thing worth adding immediately before the IRETURN is a loop to clear the One array (set all to 0). This will help!
WW
 
Posted: 06:51am
13 Aug 2014
Copy link to clipboard
viscomjim
Guru

Ahhhhh, that I will do first before all the rest. Good call.

edit... I guess that if I do it FIRST, it would obviously be before the rest.Edited by viscomjim 2014-08-14
 
Posted: 11:51am
13 Aug 2014
Copy link to clipboard
viscomjim
Guru

Hi White,

That seems to have worked. Just cleared the One array to all 0's and haven't had any issues since.

I took a while to write all 200 lines of code...

ONE(1) = 0
ONE(2) = 0
...
...
ONE(200) = 0

but it was worth it.... Just kidding of course!

Thanks a million!!!!Edited by viscomjim 2014-08-14
 
Posted: 11:59am
13 Aug 2014
Copy link to clipboard
WhiteWizzard
Guru

I guess some 'stray' IR caused an interrupt to trigger (possibly from a light bulb!) and the previous values were still held in the One array hence reporting the previous button press.

Glad it's sorted.


WW
 
Posted: 02:31pm
13 Aug 2014
Copy link to clipboard
viscomjim
Guru

Brilliant!!!!
 
Posted: 03:24pm
15 Aug 2014
Copy link to clipboard
viscomjim
Guru

Hi White, after implementing the clearing of the array, this has been working perfectly. I have shown a few buddies of mine and they are all real impressed since they cannot do this with any of their arduino librararies, All I can say is HA HA HA. Thanks. This opens a few very good doors over here. Using an apple remote for something non apple is freaking people out. I love it.
 
   Page 2 of 2    


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025