I am using EasyC V4 for Cortex and have the latest mastercode. I am trying to test my Ultrasonic Range Finder. When I run the Ultrasonic Test sample code, this message appears in the terminal window:
“Ultrasonic sensor on echo port 1, ping port 2 timed out, check the connections”
One of the ultrasonic sensor wires is connected into digital input port 1, and the other is connected into digital output port 2
switching the wires in digital ports 1 and 2,
using another ultrasonic sensor,
trying different ports that I know work
putting the digital input wire into an analog port
None of these methods have worked. The same message shows no matter what I do. Even when I unplug the input or the output wire, the same message shows. I don’t think this is the programming because I tried using Intelitek’s sample code called “Ultrasonic Test”.
Please help right away!