 const int SPARE_18         = 18;
 const int SPARE_19         = 19;
 const int CURRENT_FEEDBACK = 20;
-const int CRADLE_SENSOR    = 21; 
+const int CRADLE_SENSOR    = 21;
+const int OLED_RESET       = 4; //the library asks for a reset pin, but our OLED doesn't have one 
 
 //EEProm parameter data (https://github.com/Chris--A/EEWrap)
 //Use the xxx_e types rather than the standard types like uint8_t

void loop(void)
{

 //block interrupts while retreiving the temperature values.
 noInterrupts();
 int16_t adc_copy=adc_value;

//Volatile Variables used by the interrupt handlers
volatile int16_t adc_value=0;          //ADC value read by ADS1118
volatile int16_t temperature_value=0;  //internal temp of ADS1118
double kP=2, kI=0, kD=0;

//Global Objects
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);  //TODO: look into this reset pin. The LCD i'm using does not have a reset pin, just PWR,GND,SDA,SCL

DellPSU dell(DELL_PSU);   //specify the desired Arduino pin number
double Setpoint, Input, Output;
//Specify the links and initial tuning parameters
PID myPID(&Input, &Output, &Setpoint,kP,kI,kD, DIRECT); //TODO: map this properly


//----------------Setup-------------------------
