 
 //=======================================
 //
+//
+//
+//
 // helper functions
+//
+//
+//
 //
 //=======================================
 

{
  if (action)
  {
    pm();
    driveUART(true);
    lastDriveCommandTime = millis();
  }
  else
  {
    driveUART(false);
    pm();
  }
}


#define LED_PIN 13
#define RC_RX_PIN 12
#define RC_TX_PIN 11
#define SSC_RX_PIN 10
#define SSC_TX_PIN 9
// power management //
#define SERVO_PIN 6
#define POWER_PIN 7
#define MOTOR_PIN 8

// host communication //
#define MAX_COMMAND 16
