I currently want to use a RF transmitter/receiver along with a servo motor. With my board 1, I am receiving data as well as controlling a servo motor. For this I am currently trying to use the built in servo library servo.h as well as the library virtual wire. When I try to include both of these libraries, I get an error:
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"
libraries\VirtualWire\VirtualWire.cpp.o (symbol from plugin): In function `crc16_update(unsigned int, unsigned char)':
(.text+0x0): multiple definition of `__vector_11'
libraries\Servo\avr\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.
After looking around a bit, I believe the problem is that both libraries use timer1. I searched around for servo libraries that use a different timer, but am having trouble implementing them. Does anyone know of other servo/RF libraries I can use that do not make use of the same timer? Or is there any way to fix this?
Any help is very appreciated