 }
 void loop()
 {
+  
   batteryUpdate();
-  delay(100);
+ 
+  delay(2000);
 }
 
 void batteryDraw()

    ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
  #endif  
 
  delay(2); // Wait for Vref to settle
  ADCSRA |= _BV(ADSC); // Start conversion
  while (bit_is_set(ADCSRA,ADSC)); // measuring
   
  uint8_t low  = ADCL; // must read ADCL first - it then locks ADCH  
  uint8_t high = ADCH; // unlocks both
   
  long result = (high<<8) | low;
  
  // return registries to previous settings, just in case.

int value_old;

void setup() {
  Serial.begin(57600);
  
  // initialize the robot
  Robot.begin();
  
