Go Down

Topic: newPing library clash (Read 601 times) previous topic - next topic


i am using HC sr04 distance sensor
with the newPing library

the problem is

when i use new ping library , i am not able to use the tone functions
core.a(Tone.cpp.o): In function `__vector_7':
C:\Users\Harsh's\Desktop\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:535: multiple definition of `__vector_7'
NewPing\NewPing.cpp.o:C:\Users\Harsh's\Desktop\arduino-1.0.3\libraries\NewPing/NewPing.cpp:214: first defined here

also when i use lcd.write(from the liquidcrystal library), i have to typecaste the value of a custom created byte .

any suggestions to how to solve this problem? 


Use the old ping method then.
My GitHub:


the old ping is not accurate

this newPing is pretty cool
i would love it if there was a way to run the newPing library

Go Up