awsl,我真的了,编译出错写个红外遥控+避障+巡线的小车,出现错误。先只上传巡线模块,然后上传成功,电机不动,我用马克笔在桌子上写的,不知道怎么出的错误。还有一个是写完程序后,编译出错。
E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/testArduino.cpp.elf C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\testArduino.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\Servo\Servo.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\IRremote\IRremote.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/core.a -LC:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp -lm
C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/core.a(Tone.cpp.o): In function `__vector_7':
E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8\hardware\lubot\avr\cores\arduino/Tone.cpp:536: multiple definition of `__vector_7'
C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\IRremote\IRremote.cpp.o:E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8\libraries\IRremote/IRremote.cpp:361: first defined here
collect2.exe: error: ld returned 1 exit status
编译有误。
编译失败!
求大神帮助一下
E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8/hardware/tools/avr/bin/avr-gcc -w -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/testArduino.cpp.elf C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\testArduino.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\Servo\Servo.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\IRremote\IRremote.cpp.o C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/core.a -LC:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp -lm
C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp/core.a(Tone.cpp.o): In function `__vector_7':
E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8\hardware\lubot\avr\cores\arduino/Tone.cpp:536: multiple definition of `__vector_7'
C:\Users\pc\AppData\Local\Temp\build3197323495367896182.tmp\IRremote\IRremote.cpp.o:E:\进击的巨人\Mixly_Arduino\Mixly0.963 noc\Mixly0.963 noc\Mixly0.963\arduino-1.7.8\libraries\IRremote/IRremote.cpp:361: first defined here
collect2.exe: error: ld returned 1 exit status
编译有误。
编译失败!
求大神帮助一下
