#pragma config(Sensor, dgtl1, BUTTON, sensorTouch)
#pragma config(Sensor, dgtl3, BUTTOFF, sensorTouch)
#pragma config(Motor, port1, leftMotor, tmotorVex393_HBridge, openLoop)
#pragma config(Motor, port10, rightMotor, tmotorVex393_HBridge, openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
/*
Task Description
Team Members: Alexander Sando & Aly Valdesuso
Date: 2/27/2020
Period: 4
*/
task main()
{
untilTouch(BUTTON); //When you press the BUTTON button the code below will run.
startMotor(rightMotor, 50); //The right motor to start.
startMotor(leftMotor, -45); //The left motor to start.
untilTouch(BUTTOFF); //When you press the BUTTOFF button the code below will run.
stopMotor(rightMotor); //The right motor will stop.
stopMotor(leftMotor); //The left motor will stop.
}