 /* Prepare to listen to commands over serial and start everything up. */
 {
 	armModulesModule.setValue(0); // Don't arm the modules by default, wait for a command.
-	refreshRate.setValue(10); // Set default delay in milliseconds in the main loop/
+	refreshRate.setValue(10); // Set default delay in milliseconds in the main loop
+	forwardLED.setValue(0);
+	
+	// set modes for pins used by simple switch modules
+	pinMode(ON_LED_PIN, OUTPUT);
+	pinMode(FORWARD_LED_PIN, OUTPUT);
 
 	//TODO: do some system checks, like battery level, connections etc.
 

 * 26 Sep 2015 - 2.1.2 - Alek Lidtke - put arming modules into a dedicated function to not freeze the GUI when doing so.
 */

//#define DEBUG_PRINTOUT

// Custom includes.
#include "Module.h"

{
  // Get the first data token.
  char * token;
  token = strtok(inputDataBuffer, DATA_DELIMITER);
  
  // Parse the entire inputDataBuffer of tokens (commands and their value arguments).
  int nextActuatorIndex = -1; // Index of the actuator value for which is sent in this part of the telecommand.
  
  while (token != NULL)
  {
  	// If next actuator index < 0 we have no value to read now
  	if (nextActuatorIndex >= 0)
  	{
