Bonjour, j'utilise la carte Arduino Mega 2560, et lors de la compilation j'ai reçu ce message d'erreur (assez long) :
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of ServoCount'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of __vector_17'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of __vector_32'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of __vector_42'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of __vector_47'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::Servo()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::Servo()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::attach(int, int, int)'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::attach(int)'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::detach()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::writeMicroseconds(int)'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::write(int)'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::readMicroseconds()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::read()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\Servo\avr\Servo.cpp.o (symbol from plugin): In function ServoCount': (.text+0x0): multiple definition of Servo::attached()'
sketch\Servo.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte Arduino Mega or Mega 2560
Quelqu'un comprend-t-il d'où vient le problème et peut-il m'apporter une solution ?
Merci d'avance
