       if (serial_rx_buffer_counter == 0) {
         Serial.write(0x08);
       }
-      if ((serial_rx_buffer_counter == 1) || (serial_rx_buffer_counter == 2) || (serial_rx_buffer_counter == 3) || (serial_rx_buffer_counter == 4) || (serial_rx_buffer_counter == 5)) {
+      if ((serial_rx_buffer_counter == 1) || (serial_rx_buffer_counter == 2) || (serial_rx_buffer_counter == 3) || (serial_rx_buffer_counter == 4)) {
         Serial.write(0x00);
       }
-      if ((serial_rx_buffer_counter == 6) || (serial_rx_buffer_counter == 7) || (serial_rx_buffer_counter == 8)) {
+      if ((serial_rx_buffer_counter == 5) || (serial_rx_buffer_counter == 6) || (serial_rx_buffer_counter == 7) || (serial_rx_buffer_counter == 8)) {
         Serial.write(serial_rx_buffer_motor[serial_rx_buffer_counter]);
       }
       if ((serial_rx_buffer_counter == 9) || (serial_rx_buffer_counter == 10)) {

  serial_rx_buffer_toggle_controller_pwr[10] = 0x00;
  serial_rx_buffer_toggle_controller_pwr[11] = 0x17;

  inputDelay = 0;
  isInputtingDelayed = false;
  isInputting = false;

  calculatePong();
  getAttention();
  autoResetControllerData();
  //toggleControllerPower();
} // Close Loop Function

void toggleMotorsAfterPing() {
  //  This is where we choose to turn the PS2 controller ON or OFF, through a solid-state low-power relay
  //inputDelay = 0;
  //isInputtingDelayed = false;
  //isInputting = false;
  //autoResetControllerData();
  //manualResetControllerData();
  calculatePing();
  calculatePong();
  //Serial.println("");
  //Serial.print("Changing from ");
  //Serial.print(autoDisconnectOnPingTimeout);
  //Serial.print(" to");
  //Serial.flush();
  readMotorsAlongSendPing = serial_rx_buffer_toggle_motors_after_ping[8];
  serial_rx_buffer_toggle_motors_after_ping[0] = 0x19;
  serial_rx_buffer_toggle_motors_after_ping[11] = 0x19;

  for (serial_rx_buffer_counter = 0; serial_rx_buffer_counter < sizeof(serial_rx_buffer_toggle_motors_after_ping); serial_rx_buffer_counter++) {
    //  Write back data as a way to tell the Status changed correctly
    Serial.write(serial_rx_buffer_toggle_motors_after_ping[serial_rx_buffer_counter]);
  }
  //Serial.flush();
  //Serial.print(autoDisconnectOnPingTimeout);
  //Serial.println(" .");
  //Serial.flush();
  //autoResetControllerData();
  //manualResetControllerData();
  calculatePing();
  calculatePong();
  //inputDelay = 0;
  //isInputtingDelayed = false;
  //isInputting = false;
}

void toggleControllerPower() {
  //  This is where we choose to turn the PS2 controller ON or OFF, through a solid-state low-power relay
