Skip to content

libraries\NewPing #9448

@jdslk2016

Description

@jdslk2016

Hi i am getting error When i add #include <NewPing.h> as follow can you help me

Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno"

Tone.cpp.o (symbol from plugin): In function `timer0_pin_port':

(.text+0x0): multiple definition of `__vector_7'

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 "NewPing.h"
Used: C:\Users\Administrator\Documents\Arduino\libraries\NewPing
Not used: C:\Program
Multiple libraries were found for "Servo.h"
Used: C:\Program
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: InvalidOff topic for this repository, or a bug report determined to not actually represent a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions