 int lowBattCon = 0; //
 int battReading1 = 0;
 int battReading2 = 0;
+int keepAlive = 0;
 
 struct Status {
   int yaw_pos;

        case 8:
          cmd.lid_brake = (value == "1" ? HIGH : LOW);
          break;
        default:
          break;
      }

  pinMode(rlyPin1,OUTPUT); // Setup pins
  pinMode(rlyPin2,OUTPUT); // Setup pins
  pinMode(rlyPin3,OUTPUT); // Setup pins
  pinMode(motorPinSpeed1,OUTPUT); // Setup pins
  pinMode(motorPinSpeed2,OUTPUT); // Setup pins
  pinMode(motorPinSpeed3,OUTPUT); // Setup pins  
  pinMode(motorPinDir1,OUTPUT); // Setup pins
  pinMode(motorPinDir2,OUTPUT); // Setup pins
  pinMode(motorPinDir3,OUTPUT); // Setup pins
