Infrared remote library for Arduino: send and receive infrared signals with multiple protocols Port from Arduino-IRremote https://github.com/z3t0/Arduino-IRremote
Revision 8:629ef37f2853, committed 2019-09-25
- Comitter:
- JRM1986
- Date:
- Wed Sep 25 13:20:19 2019 +0000
- Parent:
- 7:c82a0d54a024
- Commit message:
- Remote Control Decoded - recieving codes from module;
Changed in this revision
irRecv.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c82a0d54a024 -r 629ef37f2853 irRecv.cpp --- 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