Andrew Cowan
Senior Member
I have an application in which it is usually scrolling through a loop, checking various inputs. I want to add IR control, so using the rev-ed IR remote can take it out of this loop, and put it into other stages.
I'm using a 28X - I'll probably upgrade it to a 28X1 when I order some more chips.
I know the irfrain command hangs the program, so this would not be suitable in my loop. I previously decided I would need an 08M, which waits for an IR signal, then tells the 28X. More complex than I would like.
However, I just noticed hippy said (in another thread):
Anyone tried this?
A
I'm using a 28X - I'll probably upgrade it to a 28X1 when I order some more chips.
I know the irfrain command hangs the program, so this would not be suitable in my loop. I previously decided I would need an 08M, which waits for an IR signal, then tells the 28X. More complex than I would like.
However, I just noticed hippy said (in another thread):
That sounds interesting. Will a if pin0=0 then infrared tell me when there is an infrared signal?You may be able to scan for the presence of an IR signal ( goes low when signal present ) rather than INFRAIN'ing while stepping the motor but you could get tight on processing time ( 8MHz operation will help )...
Anyone tried this?
A