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)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.lang.InterruptedException
      Parameters:
      a - GPIO pin number of Motor Pin A
      b - GPIO pin number of Motor Pin B
      e - GPIO pin (example: RaspiPin.GPIO_06) of digital output
      Throws:
      java.lang.InterruptedException