cyborg5 / IRLib2

Library for receiving, decoding, and sending infrared signals using Arduino
GNU General Public License v3.0
384 stars 138 forks source link

blink13 / IRLib_doBlink function operates inverted for IRrecvPCI #70

Closed ArminJo closed 3 years ago

ArminJo commented 5 years ago

Hi, I just activated the "debug" blink with myReceiver.blink13(true); and wondered that LED 13 lights up on the first signal received and stays. I could not see anything like blinking. I use a IRrecvPCI Receiver. With a IRrecv receiver everything is as expected. It seems recvLength handling is different in IRrecvPCI so that the signal is inverted for the LED and the trailing mark is suppressed.

As a personal quick hack I now pass a parameter to IRLib_doBlink to invert the output.

Best regards Armin

ArminJo commented 3 years ago

Thanks for your fast response.