Created
January 31, 2022 21:18
-
-
Save techieji/e3d1355edb8db09a4cd774f475218eef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.ctre.phoenix.motorcotrol.can.WPI_TalonSRX; | |
import java.util.concurrent.TimeUnit; | |
class Main { | |
public static int LEFT_MOTOR1 = 9; | |
public static void main(String... args) { | |
WPI_TalonSRX m = new WPI_TalonSRX(LEFT_MOTOR1); | |
m.set(0.5); | |
TimeUnit.SECONDS.sleep(2); | |
m.set(0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment