hey guys...ive been looking up on IR control projects and i was just wondering if there is any specific reason that that they all use pin 2 for the reciever pin? is pin 2 special in anyway? (arduino uno R3)
Pin 2 is connected to External Interrupt 0. Do they use attachInterrupt()? Even if so, an alternative is Pin 3 which is connected to External Interrupt 1.
the IRremote library that I use has the detector to pin 11, but I have used several different pins with no problems. Just put in the pin you want in the constructor (proper term?).