hi. i wasn’t sure whether to post that on the sensor topics or audio [/b] or here. forgive me if i’ve choosed badly.
maybe its an easy question, for me its really challenging.
having a setup with multiple ultrasonic sensors, stepper motor, servo motor and wave shield. all responding to the sensors. all working good except the servo i’ve just tried to insert.
getting the message that actor 17 is used multiple times and have no experience with libraries whatsoever. its kind of urgent (of course) and maybe very simple to solve?
here my code
added below cuz too long
here my error message
libraries/WaveHC/WaveHC.cpp.o (symbol from plugin): In function
WaveHC::readWaveData(unsigned char*, unsigned int)':</sup> <sup>(.text+0x0): multiple definition of __vector_17’
libraries/Servo/avr/Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/…/lib/gcc/avr/4.9.2/…/…/…/…/avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
i tried a different library (servotimer2.h):
/libraries/ServoTimer2/ServoTimer2.h:41:17: error: conflicting declaration ‘typedef uint8_t boolean’
typedef uint8_t boolean;
In file included from sketch/Sensoren_und_Stepper_5.1.ino.cpp:1:0:
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:125:14: note: previous declaration as ‘typedef bool boolean’
typedef bool boolean;
do you guys have any clues on how to solve that?
Sensoren_und_Stepper_sample.ino (18.8 KB)