Package | Description |
---|---|
edu.wpi.first.wpilibj |
The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC
control system and your robot.
|
Constructor and Description |
---|
Ultrasonic(DigitalOutput pingChannel,
DigitalInput echoChannel)
Create an instance of an Ultrasonic Sensor from a DigitalInput for the
echo channel and a DigitalOutput for the ping channel.
|
Ultrasonic(DigitalOutput pingChannel,
DigitalInput echoChannel,
Ultrasonic.Unit units)
Create an instance of an Ultrasonic Sensor from a DigitalInput for the
echo channel and a DigitalOutput for the ping channel.
|
Copyright © 2015. All rights reserved.