         Instrument[Steering].QuiescentCurrent = analogRead(CurrentSteer);
         Instrument[Motor].CurrentDraw = 
         Instrument[Motor].QuiescentCurrent = analogRead(Current36V);
-        Display (0);
         digitalWrite( StopLED, LOW);
         digitalWrite( CruiseLED, LOW);
         
 
 }
 /*---------------------------------------------------------------------------------------*/ 
-
-/*---------------------------------------------------------------------------------------
- CruisePressed is called by an interrupt
- */  
-void CruisePressed()
-{
-    TimeOfCruiseButton_ms = millis();
-    Cruise = TRUE;
-}
-void CruiseRC1Pressed()
-{
-    TimeOfCruiseButton_ms = millis();
-    Cruise = TRUE;
-}
-/*---------------------------------------------------------------------------------------
- StopPressed is called by an interrupt
- */  
-void StopPressed()
-{
-    Halt();
-    TimeOfStopButton_ms = millis();
-    Stop = TRUE;
-}
-void StopRC2Pressed()
-{
-    Halt();
-    TimeOfStopButton_ms = millis();
-    Stop = TRUE;
-}
-void EStopPressed()
-{
-    Halt();
-    TimeOfStopButton_ms = millis();
-    Stop = TRUE;
-}
 /*---------------------------------------------------------------------------------------*/ 
 // Bring the vehicle to a stop.
 // Stop may be called from an interrupt or from the loop.

   for (i = 127; i < 255; i+= incr)
   {
      SteerWrite(i, Delay_ms);
      ServoWrite(i, Delay_ms);  // brake works 4/18/13  // extent is 43 mm
   }
   for (i = 255; i >= 127; i-= incr)
   {
      SteerWrite(i, Delay_ms);
      ServoWrite(i, Delay_ms);
   }
  } 
}
//==============================================================================
void RampTest()
{
  static int Position[] ={ 0, 0, 0};
  const int i = Brakes;
    for (int j = 80; j <800; j += 20) /*Instrument[i].MinPosition; j<= Instrument[i].MaxPosition;
    j += Instrument[i].StepSize) */
    {
        Serial.print("Move up ");
        Instrument[i].move(j);
      
//       if( digitalRead(Instrument[i].EnablePin) == HIGH)
//       {
//           if (abs(Instrument[i].move(Position[i]) - Position[i]) < Instrument[i].CloseEnough)
//           {
//             if (Position[i] = Position[i]? 0: 1023;
//           }
//       }
        delay(500);
    }
    for (int j = Instrument[i].MaxPosition; j>= Instrument[i].MinPosition;
    j -= 20)
    {
         Serial.print("Move down ");
        Instrument[i].move(j);
        delay(500);
    }
 
}

/*---------------------------------------------------------------------------------------
Flash a number in Morse Code
1  . ----
2  ..---
3  ...--
4  ....-
5  .....
6  -....
7  --...
8  ---..
9  ----.
0  -----
*/ 
#define BASE 300
#define DOT BASE
#define DASH (4*BASE)
#define BIT_SPACE (2*BASE)
#define NUMBER_SPACE (10*BASE)
void FlashMorse (unsigned int number)
{
  unsigned int quotient, remainder;
  unsigned int i;
  quotient = number / 10;
  remainder = number % 10;
  if (quotient != 0)
    FlashMorse (quotient);
  if (remainder <= 5)
  {
    for (i = 0; i < remainder; i++)
      Flash(DOT);
    for (; i < 5; i++)
      Flash(DASH);
  }
  else
  {
    for (i = 5; i < remainder; i++)
      Flash(DASH);
    for (; i < 10; i++)
      Flash(DOT);
   }
   digitalWrite( ReverseLED, LOW);
   delay (NUMBER_SPACE);

}
void Flash(int DashDot)
{
  digitalWrite( ReverseLED, LOW);
  delay (BIT_SPACE);
  digitalWrite( ReverseLED, HIGH);
  delay (DashDot);
}
#endif  // TEST_MODE 


        pinMode(LED7, OUTPUT);
        pinMode(LED8, OUTPUT);  
        Serial.begin(9600);
#endif
        initialize();
}	

/*---------------------------------------------------------------------------------------*/ 
void initialize()
{
        
        Halt();
        
