I want a robot with 2 modes that can be controled by a remote TV.
In mode 1: remote control car and mode 2: obstacles avoiding car
I have write a code of remote and obstacles avoiding. They work fine when I use them in different program. But i put them in one program, I get the following error:
C:\Users\DELL\Desktop\Hex\libraries\IRremote\IRremote.cpp.o (symbol from plugin): In function `MATCH(int, int)': (.text+0x0): multiple definition of `__vector_7' C:\Users\DELL\Desktop\Hex\libraries\NewPing\NewPing.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status Multiple libraries were found for "Servo.h" Used: C:\Program Multiple libraries were found for "NewPing.h" Used: C:\Users\DELL\Documents\Arduino\libraries\NewPing Multiple libraries were found for "IRremote.h" Used: C:\Users\DELL\Documents\Arduino\libraries\IRremote Using library Servo at version 1.1.5 in folder: C:\Program Files Using library NewPing at version 1.9.1 in folder: C:\Users\DELL\Documents\Arduino\libraries\NewPing Using library IRremote at version 2.2.3 in folder: C:\Users\DELL\Documents\Arduino\libraries\IRremote exit status 1 Error compiling for board Arduino Uno.
Remote_Obstacles.ino (4.67 KB)