shirriff/Arduino-IRremote — pull request #47 by agprimatic (2013-12-16 03:38:21+00:00)
Title: Added ability to use active-high IR receivers with 2nd (optional) argument to IRrecv().  Still defaults to active-low.

If one argument is provided to IRrecv(), then the input defaults to active-low.
If two arguments are provided to IRrecv(), the 2nd argument is the sense of the IR receiver (0 = active-low, 1 = active-high).