Ultrasonic Error

I have an ultrasonic that I am programming. The output is plugged into digital port: 11 and the input is plugged into digital port: 12.

I keep getting this error.
Ultrasonic Reading: 0
Ultrasonic sensor on echo port 12, ping port 11 timed out check the connections.


I would appreciate a quick reply so I could finish programming this tonight. bump

The issue is you Port 12 is an Output you have to use controller configuration to change it to an input. If you look on the drop down, port 12 isn’t listed as an interrupt. Only ports 1-8 are inputs be default.

Oh ok thanks that helps a lot. I googled interrupt but couldn’t figure it out. I will change that and let you know how it works.