I'm having some trouble on getting the two programs to connect. The serial monitor is telling me that the sr04 is working but I dont know how to send that distance to the rest of the program so the display can use it.

If you guys have the time to point me in a direction I could use the help.

// ---------------------------------------------------------------------------// Example NewPing library sketch that does a ping about 20 times per second.// ---------------------------------------------------------------------------