Hi ...

I am using same code ish

count ir,500,realtrig ' Looks for real trigger
if realtrig >15 then 'if real ir then turn light on
gosub Seconds 'then on 88 Seconds
endif
return
Works fine for me also..... But I I am getting false triggers due to mains spikes (My circuit is on a 12v Battery then LDO down to 5v....Was wondering what your circuit looked like ... If I was missing anything maybe ...



Andy