 	{
 		armModules(); // This function handles everything.
 		armModulesModule.setValue(0); // We're done arming now.
+	}
+	
+	// LED switch
+	if (forwardLED.getValue() == 1)
+	{
+		digitalWrite(FORWARD_LED_PIN, HIGH);
+	}
+	else
+	{
+		digitalWrite(FORWARD_LED_PIN, LOW);
 	}
 	
 	// Send readings from all the sensors over serial after this has been requested by a command.

	}
        
	// Continue to the new token.
	token = strtok (NULL, DATA_DELIMITER);
  }
}



// Pins are pairs of close-by pins with PWM and digital ones.
BrushlessDCMotor engine1 = BrushlessDCMotor("motorPortHor", THROTTLE_STEPS, MOTOR_MAX_PULSE_WIDTH,
	MOTOR_MIN_PULSE_WIDTH, MOTOR_ARM_PULSE_WIDTH, 3, 2); // orange // 1st-pwm, 2nd-digital
BrushlessDCMotor engine2 = BrushlessDCMotor("motorStbdHor", THROTTLE_STEPS, MOTOR_MAX_PULSE_WIDTH,
	MOTOR_MIN_PULSE_WIDTH, MOTOR_ARM_PULSE_WIDTH, 5, 4); // green
BrushlessDCMotor engine3 = BrushlessDCMotor("motorPortVer", THROTTLE_STEPS,MOTOR_MAX_PULSE_WIDTH,
	MOTOR_MIN_PULSE_WIDTH, MOTOR_ARM_PULSE_WIDTH, 6, 7); // white
BrushlessDCMotor engine4 = BrushlessDCMotor("motorStbdVer", THROTTLE_STEPS, MOTOR_MAX_PULSE_WIDTH,
	MOTOR_MIN_PULSE_WIDTH, MOTOR_ARM_PULSE_WIDTH, 9, 8); // blue

/* =============================================================================
 * MISC ACTUATOR AND COMMAND DEFINITIONS.
