You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\Servo.cpp.o (symbol from plugin): In function `ServoCount':
(.text+0x0): multiple definition of `__vector_11'
\VirtualWire\VirtualWire.cpp.o (symbol from plugin): first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "Servo.h"
The problem is that both Servo.cpp and VirtualWire.cpp try to use the same interrupt vector. Arduino Uno has only a single 16-bit timer, and Servo.cpp library seems to want it. The problem is that VirtualWire library also wants to use the only 16-bit timer available.
The text was updated successfully, but these errors were encountered:
There is an answer here.
Unfortunately, the two libs use the same timer. Looking for a solution (some mentioned ServoTimer2, but does not this to work either, and I don't how to convert angles into ms...). Seems to be a recurring issue :-(
It shows
The problem is that both
Servo.cpp
andVirtualWire.cpp
try to use the same interrupt vector. Arduino Uno has only a single 16-bit timer, and Servo.cpp library seems to want it. The problem is that VirtualWire library also wants to use the only 16-bit timer available.The text was updated successfully, but these errors were encountered: