IR led and Interrupt 1 cause reset arduino uno.

No,
before your comment i did not connected any resistor, Now i connected a resistor and it is not resetting. :slight_smile:
earlier why it was resetting ??