text: #pragma config(Sensor, in4,    smokinPot,      sensorPotentiometer)
  #pragma config(Sensor, dgtl3,  limit,          sensorTouch)
  #pragma config(Sensor, dgtl4,  bump,           sensorTouch)
  #pragma config(Sensor, dgtl5,  ledGreen,       sensorLEDtoVCC)
  #pragma config(Sensor, dgtl6,  ledYellow,      sensorLEDtoVCC)
  #pragma config(Sensor, dgtl7,  ledRed,         sensorLEDtoVCC)
  #pragma config(Sensor, dgtl8,  jumper,         sensorTouch)
  #pragma config(Sensor, dgtl11, ultrasonic,     sensorSONAR_inch)
  #pragma config(Motor,  port2,           drive,         tmotorVex393_MC29, openLoop)
  //*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//
  
  task main()
  {
  	while(true)
  	{
  		if(SensorValue[bump] == 1)
  		{
  			motor[drive] = 64;
  		}
  
  		if(SensorValue[limit] == 1)
  		{
  			motor[drive] = 64;
  		}
  
  
  
  		while(SensorValue[bump] == 1 && SensorValue[limit] == 1)
  		{
  			motor[drive] = 127;
  		}
  
  	}
  
  }
  