 }
 
 
-/*
-   display.clearDisplay();
-    display.setTextSize(1);
-    display.setTextColor(WHITE);
-    display.setCursor(0,0);
-
-    
-    if (dell.read_data()==true)
-  {
-    display.print(dell.watts());
-    display.print("W "); 
-    display.print(dell.millivolts());
-    display.print("mv ");
-    display.print(dell.milliamps());
-    display.println("mA ");
-    display.println(dell.response_string());
-    //Serial.println(dell.milliamps());
-    Serial.println(dell.response_string());
-  }
-  else
-  {
-    display.print("plug in adapter");
-  }
-  display.display(); 
-  delay(1000); 
- 
- */
+
 
 
  /*

//4 pulses for debugging
   PulsePin(debug_pin_B);
   PulsePin(debug_pin_B);
   current_sense_raw=analogRead(CURRENT_SENSE);
   PulsePin(debug_pin_B);
   PulsePin(debug_pin_B);


  */




  // note: the _in array should have increasing values
//multimap2 allows for extrapolation if the input value is outside the bounds of the lookup array
int multiMap2(int val, int* _in, int* _out, uint8_t size)
