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

int value_old;

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

  Robot.noStroke();
  value_old = value;
  value = batteryVcc();
  
  if (value == -1) {
    // Not got a value yet
    value = value_old;
  }
 
  if (value == value_old) {
    // No need to redraw the same value to the screen.
