Ultrasonic Range Finder

  1. 8 months ago

    I have got the ultrasonic sensor working on the vex fantastic bot, but when I use the code I wrote on my robot it doesn't work. We currently have the input cable plugged into the digital port where the actual sensor is selected in robotc and the output cable in the port that is "generated by robotc. What are we missing?

  2. Manitha

    13 Oct 2017 Brampton, Ontario 99000B

    Is it setup correctly in the sensors and motor declaration? Check the live values from the robotc compiler.

  3. 7 months ago

    biglesliep

    17 Oct 2017 Menlo Park, CA 1666

    I recently wrote a lengthy post on this topic, which includes information on how it must be plugged in, plus information on Ports 4/10, etc. Lots of stuff.
    https://renegaderobotics.org/vex-sensors-ultrasonic-range-finder/

 

or Sign Up to reply!