Package frc.team670.pi.tests
Class UltrasonicTest
java.lang.Object
frc.team670.pi.tests.UltrasonicTest
public class UltrasonicTest
extends java.lang.Object
Represents a DC motor which can be controlled with the pi motorshield.
- Author:
- ctychen, lakshbhambhani
-
Constructor Summary
Constructors Constructor Description UltrasonicTest()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Constructor Details
-
UltrasonicTest
public UltrasonicTest()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.InterruptedException- Parameters:
a
- GPIO pin number of Motor Pin Ab
- GPIO pin number of Motor Pin Be
- GPIO pin (example: RaspiPin.GPIO_06) of digital output- Throws:
java.lang.InterruptedException
-