YOLO 360 no scope booyah
This commit is contained in:
22
TeamCode/src/main/java/j.java
Normal file
22
TeamCode/src/main/java/j.java
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package org.firstinspires.ftc.teamcode;
|
||||||
|
|
||||||
|
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
|
||||||
|
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
|
||||||
|
import com.qualcomm.robotcore.hardware.HardwareMap;
|
||||||
|
|
||||||
|
|
||||||
|
public class ProgrammingBoard3 {
|
||||||
|
private DigitalChannel touchSensor;
|
||||||
|
private DcMotor motor;
|
||||||
|
|
||||||
|
public void init (Hardware hwMap) {
|
||||||
|
|
||||||
|
touchSensor = hwMap.get(Digital.class, "touch_Sensor");
|
||||||
|
touchSensor.setMode(Digital) }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
)
|
||||||
|
}
|
Reference in New Issue
Block a user