我们不仅销售产品,我们还传播知识
商品分类

发现一个奇怪的问题,同样的程序有的电脑可以上传有的不行arduino

卧龙 涤生 求助 39

D:\Arduino\libraries\PS2X_lib\PS2X_lib.cpp: In member function ‘void PS2X::read_gamepad(boolean, byte)’:

D:\Arduino\libraries\PS2X_lib\PS2X_lib.cpp:101:53: warning: narrowing conversion of ‘motor2’ from ‘byte {aka unsigned char}’ to ‘char’ inside { } [-Wnarrowing]

char dword[9] = {0x01,0x42,0,motor1,motor2,0,0,0,0};

^

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::setPWM(unsigned char, unsigned int, unsigned int)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::write8(unsigned char, unsigned char)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::reset()’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::begin()’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::read8(unsigned char)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin): In function `Adafruit_MS_PWMServoDriver::Adafruit_MS_PWMServoDriver(unsigned char)’:

(.text+0x0): multiple definition of `Adafruit_MS_PWMServoDriver::setPWMFreq(float)’

sketch\Adafruit_MS_PWMServoDriver.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `pcint_null_callback’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `enablePinChangeInterruptHelper(unsigned char, unsigned char, unsigned char)’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `oldPorts’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `disablePinChangeInterruptHelper(unsigned char, unsigned char)’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `risingPorts’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt.cpp.o (symbol from plugin): In function `pcint_null_callback’:

(.text+0x0): multiple definition of `fallingPorts’

sketch\PinChangeInterrupt.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `attachPinChangeInterrupt0()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT0()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT0′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT1()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT1′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT2()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT2′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT3()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT3′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT4()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT4′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT5()’

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `callbackPCINT5′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt0.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt0()’:

(.text+0x0): multiple definition of `__vector_3′

sketch\PinChangeInterrupt0.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `attachPinChangeInterrupt1()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT8()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT8′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT9()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT9′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT10()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT10′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT11()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT11′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT12()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT12′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT13()’

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `callbackPCINT13′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt1.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt1()’:

(.text+0x0): multiple definition of `__vector_4′

sketch\PinChangeInterrupt1.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `attachPinChangeInterrupt2()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT16()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT16′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT17()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT17′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT18()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT18′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT19()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT19′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT20()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT20′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT21()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT21′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT22()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT22′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `PinChangeInterruptEventPCINT23()’

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `callbackPCINT23′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\PinChangeInterrupt2.cpp.o (symbol from plugin): In function `attachPinChangeInterrupt2()’:

(.text+0x0): multiple definition of `__vector_5′

sketch\PinChangeInterrupt2.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::SensorBar()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::SensorBar()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::SensorBar(unsigned char, unsigned char, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::SensorBar(unsigned char, unsigned char, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::getRow(unsigned int)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::getCol(unsigned int)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::calculateLEDTRegister(int)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::calculateSlopeRegister(int, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::writeByte(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::pwm(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `REG_I_ON’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::analogWrite(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::writeWord(unsigned char, unsigned int)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::writeBytes(unsigned char, unsigned char*, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readByte(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::debounceConfig(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::configClock(unsigned char, unsigned char, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::clock(unsigned char, unsigned char, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::debounceTime(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readWord(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::writePin(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::digitalWrite(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readPin(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::digitalRead(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::ledDriverInit(unsigned char, unsigned char, bool)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::setupBlink(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, bool)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `REG_T_ON’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `REG_OFF’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `REG_T_RISE’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `REG_T_FALL’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::blink(unsigned char, unsigned long, unsigned long, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::breathe(unsigned char, unsigned long, unsigned long, unsigned long, unsigned long, unsigned char, unsigned char, bool)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::pinDir(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::pinMode(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::reset(bool)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::sync()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::init()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::begin(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readKeyData()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readKeypad()’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::debounceEnable(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::debouncePin(unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::debounceKeypad(unsigned char, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::keypad(unsigned char, unsigned char, unsigned int, unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::enableInterrupt(unsigned char, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::interruptSource(bool)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::checkInterrupt(int)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_IICSensorbar.cpp.o (symbol from plugin): In function `SensorBar::SensorBar()’:

(.text+0x0): multiple definition of `SensorBar::readBytes(unsigned char, unsigned char*, unsigned char)’

sketch\QGPMaker_IICSensorbar.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::begin(unsigned int)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::setPWM(unsigned char, unsigned int)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::setPin(unsigned char, bool)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::getMotor(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::getStepper(unsigned int, unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::getServo(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_Servo::QGPMaker_Servo()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_Servo::QGPMaker_Servo()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_Servo::setServoPulse(double)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_Servo::writeServo(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_Servo::readDegrees()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_DCMotor::QGPMaker_DCMotor()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_DCMotor::QGPMaker_DCMotor()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::QGPMaker_MotorShield(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_MotorShield::QGPMaker_MotorShield(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_DCMotor::run(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_DCMotor::setSpeed(unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::QGPMaker_StepperMotor()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::QGPMaker_StepperMotor()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::setSpeed(unsigned int)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::release()’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::onestep(unsigned char, unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `microstepcurve’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\makerbuying\QGPMaker_MotorShield.cpp.o (symbol from plugin): In function `QGPMaker_MotorShield::begin(unsigned int)’:

(.text+0x0): multiple definition of `QGPMaker_StepperMotor::step(unsigned int, unsigned char, unsigned char)’

sketch\QGPMaker_MotorShield.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
为开发板 Arduino/Genuino Uno 编译时出错。

回复

共2条回复 我来回复
  • 卧龙 涤生的头像
    卧龙 涤生
    热爱生活
    评论

    微信图片_20220324174317

    2年前 0条评论
  • 卧龙 涤生的头像
    卧龙 涤生
    热爱生活
    评论

    知道原因了,原来是通用的库重复了,把重复的内容删除就好了

    2年前 0条评论
微信群
微信群
联系我们

联系我们

微信:13823392571

在线咨询:点击这里给我发消息

工作时间:周一至周五,9:30-18:30,节假日休息

微信客服
微信客服
分享本页
返回顶部