attached the Grove- Infrared Receiver v1.2 to Wio Terminal D1 (Port Right of USB-C port) (changed the Pin constant from D2 to D1 in the example)
Attempted to compile the Receive Example in the Seeed_Arduino_IRSendRev
Library.
I did not see any dependent Libraries discussed in GitHub. What am I missing?
Just a few items from the Compilation attempt follow:
Documents\Arduino\libraries\Seeed_Arduino_IRSendRev-master\IRSendRevInt.h:129:31: error: ‘TCCR2A’ was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
C:\Users\E-ITX\Documents\Arduino\libraries\Seeed_Arduino_IRSendRev-master\IRSendRev.cpp:45:5: note: in expansion of macro ‘TIMER_ENABLE_PWM’
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^~~~~~~~~~~~~~~~
C:\Users\E-ITX\Documents\Arduino\libraries\Seeed_Arduino_IRSendRev-master\IRSendRevInt.h:129:31: note: suggested alternative: ‘TCC2’
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
C:\Users\E-ITX\Documents\Arduino\libraries\Seeed_Arduino_IRSendRev-master\IRSendRev.cpp:45:5: note: in expansion of macro ‘TIMER_ENABLE_PWM’
TIMER_ENABLE_PWM; // Enable pin 3 PWM output