#include "FRC_Comp_Include.c"

void Initialization()
{
	bMotorReflected[port2] = true;
}

task Autonomous()
{

	// Go Forward
	motor[port1] = 127; //Port 1 is the left motor
	motor[port2] = 127; //Port 2 is the right motor
	wait1Msec(500);

	// Turn Left
	motor[port1] = 0;
	motor[port2] = 127;
	wait1Msec(500);

	// Turn off motors
	motor[port1] = 0;
	motor[port2] = 0;
}

task Human_Control()
{
	while(true)
	{
		motor[port1] = frcRF[p1_y];
		motor[port2] = frcRF[p2_y];
	}
}
