Pages: [1]   Go Down
Author Topic: newPing library clash  (Read 294 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Quote
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? 
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 108
Posts: 3785
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Use the old ping method then.
Logged

Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: