Infrared remote library for Arduino: send and receive infrared signals with multiple protocols Port from Arduino-IRremote https://github.com/z3t0/Arduino-IRremote
Diff: irRecv.cpp
- Revision:
- 8:629ef37f2853
- Parent:
- 4:5e46ae042bc7
--- a/irRecv.cpp Thu Mar 10 15:39:34 2016 +0000
+++ b/irRecv.cpp Wed Sep 25 13:20:19 2019 +0000
@@ -102,6 +102,7 @@
void IRrecv::enableIRIn ( )
{
_ticker.detach();
+ _ticker.attach_us(callback(this, &IRrecv::timer_isr), USECPERTICK);
_ticker.attach_us(this, &IRrecv::timer_isr, USECPERTICK);
// Initialize state machine variables