Test Ultrasonic Module

When I am testing the Test Ultrasonic Module the debug output is showing -1 no matter where I point the PiCarX. Please advise.

Are you using Python control or APP control?
Please note that the wiring pins of the ultrasonic module should be consistent with the pins of the code.
Or you can provide us with the wiring diagram and the executed code to analyze and solve the problem.

All fixed. Had to adjust the wiring.

1 Like