Need Help with Piezo Buzzer and Ultrasonic Sensor code

Okay it's working, both the LED and buzzer with the new code.

It only beeps once in awhile though, so I think some tweaking of the numbers is in order.

I'm going to try the older version of the code and see if it works now too. I tore it down and rebuilt it so maybe I had something wrong yesterday that I kept missing, I'll post back here shortly and let you know.