I thought that would proberble be the the answer if any does know anotherway I would be interested to hear itIt will wait forever.
The X1 has IRIN which can have a timeout.
With other devices, you can monitor the input line (maybe with an interrupt) and only enter the command when you 'know' that an IR signal is present.
try http://www.picaxeforum.co.uk/showthread.php?t=8831&highlight=infrain+timeoutCan anyone tell me after issueing the infrain2 command if no infrared signal is received will it wait for ever (or until it sees one) or will it eventally time out? (& contine with the program)
If there is a timeout then how long is it? & is it changable?
Mant thanks
Hi BB,It will wait forever.
The X1 has IRIN which can have a timeout.
With other devices, you can monitor the input line (maybe with an interrupt) and only enter the command when you 'know' that an IR signal is present.