
The ServoTimer2 library is meant to be a replacement for the servo library. You could try rewriting one of the two libraries to use 8-bit timers, but you may lose features and functionality. The problem is that VirtualWire library also wants to use the only 16-bit timer available. In VirtualWire.cpp lin 568, as mentioned in the error you saw: // Assume Arduino Uno (328p or similar)Īrduino Uno has only a single 16-bit timer, and Servo.cpp library seems to want it. Handle_interrupts(_timer1, &TCNT1, &OCR1A) In the Servo.cpp source (line 103 as mentioned in the error you saw): #if defined(_useTimer1) The problem is that both Servo.cpp and VirtualWire.cpp try to use the same interrupt vector.
