Servo.h and RadioHead library conflict

I am using Feather32u4 from adafruit and Arduino IDE. The problem is that when I include radiohead #include <RH_RF95.h> and #include <Servo.h>, I get error message. After doing some research, it looks like they are both running on a same timer. Does anyone know how to fix this problem? I already tried using the ServoTimer2 library that uses timer2 but I believe that Feather32u4 does not have timer2 but rather timer3.

Arduino: 1.8.1 (Windows 10), Board: "Adafruit Feather 32u4"

libraries\RadioHead\RH_ASK.cpp.o (symbol from plugin): In function `RH_ASK::maxMessageLength()':

(.text+0x0): multiple definition of `__vector_17'

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 Adafruit Feather 32u4.

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

See: Arduino Uno not including two header files at the same time - Arduino Stack Exchange
You have to define
#define RH_ASK_ARDUINO_USE_TIMER2
in
RH_ASK.h

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.. :slight_smile: