WPIRoboticsEngineering / ZenDriver

0 stars 0 forks source link

Ultrasonic Problems #10

Closed madhephaestus closed 4 years ago

madhephaestus commented 4 years ago

triger needs to be next to 5v Echo needs to be next to gnd Echo needs the in-line resistor and Zener clamping to face the sensor forwars the 5v is to the side labled "right motor" to face forward, the gnd should be to the side labled left motor

madhephaestus commented 4 years ago

To test, change the header file to set the pins you are using (different then current version)

// Ultrasonics

define SIDE_ULTRASONIC_TRIG 16

define SIDE_ULTRASONIC_ECHO 17