Package frc.team670.pi.tests
Class EncoderTest
java.lang.Object
frc.team670.pi.tests.EncoderTest
public class EncoderTest
extends java.lang.Object
Represents a DC motor which can be controlled with the pi motorshield.
- Author:
- ctychen, lakshbhambhani
-
Constructor Summary
Constructors Constructor Description EncoderTest()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Constructor Details
-
EncoderTest
public EncoderTest()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.lang.InterruptedException, PigpioException- 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:
PigpioException
java.lang.InterruptedException
-