Hello, I'm trying to get my distance sensor to work for a school project and I am running into a few problems.
First off I found this code online when I have tried to look for help but I can seem to get it to connect and work with my daq and system.
I get an error of "-200284" a picture of the error is attached. also I am not sure if I wired it right so that could be the problem. I currently have it wired to digital p0 for the trigger and digital p1 for the echo.