 
   attachInterrupt(STEER_INTER_1, steer_inter_1, CHANGE); 
   attachInterrupt(STEER_INTER_2, steer_inter_2, CHANGE);
-  attachInterrupt(STEER_INTER_G, steer_inter_180, RISING);
+//  attachInterrupt(STEER_INTER_G, steer_inter_180, RISING);
   steer.attach(STEER_PIN);
   steeringAngle = 0.0;
   
-  attachInterrupt(BRAKE_ON_PIN, brakeState, RISING);
-  attachInterrupt(BRAKE_OFF_PIN, brakeState, RISING);
+  //attachInterrupt(BRAKE_ON_PIN, brakeState, RISING);
+  //attachInterrupt(BRAKE_OFF_PIN, brakeState, RISING);
+  
   brake.attach(BRAKE_PIN);
   
   steer.writeMicroseconds(1500);

      steeringAngle = steeringAngle + STEER_UNIT;
    else
      steeringAngle = steeringAngle - STEER_UNIT;
  }    
}   

void steer_inter_2()
{
  inter_2_state = digitalRead(20);
  if (inter_1_state)
  {
    if(inter_2_state)

    applyBrake();
}

//void brakePoll()
//{
  

void brakeState()
{
  brake_state = !brake_state;
