Servo.h not working with VirtualWire.h

577 views
Skip to first unread message

Rishabh Sinha

unread,
Dec 26, 2015, 3:27:36 AM12/26/15
to virtualwire
I am unable to use Servo library with VirtualWire. Getting this error every time i try to use both library together.


Arduino: 1.6.3 (Windows 7), Board: "Arduino NG or older, ATmega8"

Build options changed, rebuilding all

VirtualWire\VirtualWire.cpp.o: In function `__vector_6':

C:\Users\lenovo\Documents\Arduino\libraries\VirtualWire/VirtualWire.cpp:591: multiple definition of `__vector_6'

Servo\avr\Servo.cpp.o:C:\Program Files\Arduino\libraries\Servo\src\avr/Servo.cpp:81: first defined here

collect2.exe: error: ld returned 1 exit status

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

please help!!

Mike McCauley

unread,
Dec 26, 2015, 3:38:19 AM12/26/15
to virtu...@googlegroups.com
Hello,

from the documentation:

This VirtualWire library has now been superceded by the RadioHead library
http://www.airspayce.com/mikem/arduino/RadioHead RadioHead and its RH_ASK
driver provides all the features supported by VirtualWire, and much more
besides, including Reliable Datagrams, Addressing, Routing and Meshes. All the
platforms that VirtualWire supported are also supported by RadioHead.

This library will no longer be maintained or updated, but we will continue to
publish it for the benefit of the the community. Nevertheless we recommend
upgrading to RadioHead where possible.

Cheers.
--
Mike McCauley VK4AMM mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone +61 7 5598-7474

Reply all
Reply to author
Forward
0 new messages