Modifying NewPing LIbrary

Hi Community!

Tl,dr.

How do I change a parameter in a Library and re-upload it to arduino?

Long Version

I am trying to reduce the number of pings sent out by my ultrasonic sensor to 1 ping/second. I've looked at the NewPing Library that controls my sensor and it has a median ping number. I am trying to make the time between pings longer by increasing this number. How can I modify the library then upload it to my arduino again? This is all for power saving for my application.

THANK YOU!!

Why do you need to modify the library? The library has a function that lets you set the number of pings that it sends/receives in one sequence. Just call that function with a different value.

If you really must edit the library, use a text editor. Not exactly rocket science.