#include < LiquidCrystal.h >
float cell1V = 0.00; //sets variable for the voltage of the first cell
float cell2V = 0.00; //sets variable for the voltage of the second cell
float cell3V = 0.00; //sets variable for the voltage of the third cell
float calV = 0.00; //sets variable for supply voltage compensation
float supplyV = 0.00; //sets variable for the voltage of the supply to the arduino
float cell1Cal = 50.00 + 1.50; //allows for voltage calibration of the first cell
float cell2Cal = 50.00 + 0.38; //allows for voltage calibration of the second cell
float cell3Cal = 50.00 + 0.85; //allows for voltage calibration of the third cell
float zenerV = 2.48; // measured voltage of the voltage reference
float cell1AverageVal = 0.00; //sets variable for use in calculating the average voltage of cell 1
float cell2AverageVal = 0.00; //sets variable for use in calculating the average voltage of cell 2
float cell3AverageVal = 0.00; //sets variable for use in calculating the average voltage of cell 3
float cell1AverageV = 0.00; //sets variable for the current voltage of cell 1
float cell2AverageV = 0.00; //sets variable for the current voltage of cell 2
float cell3AverageV = 0.00; //sets variable for the current voltage of cell 3
float averageAmps = 0.00; //set variable for the average amperage going into the battery pack
float ampsAverageVal = 0.00; //variable used for calculating the average amperage
float ampSensorMillivolts = 0.00; //used for ACS 712 readings
float currentAmps = 0.00; //used for the present amp reading
float ampVal = 0.00; //store the analog value for the ACS 712 without the offset
int ampSensorVal = 512; //store the analog value for the ACS 712 sensor
float balanceVal = 4.20; //voltage where the balancing circuits kick in
float protectVal = 4.25; //voltage where incoming power will be shut off
float ampCutoff = 5.50; //current where incomming power will be shut off
int zenerVal = 0; //variable used for analog reading of the voltage reference