   checkFanState();
 }
 
-void setupAP()
-{
+void setupAP(){
   const char WiFiAPPSK[] = "12345678";
   WiFi.mode(WIFI_AP);
   const char *ssid = "BatteryTester";

	double currentCurrent=0.0;
	double totalCurrent=0.0;
	long startTime = 0;
	double resistorValue = 1.95; // tweak for better accuracy in startTest function
	long stopTime = -1;
	double capacity = -1.0;
	double totalWattHours = 0.0;

	batteriesStopped = 0;
	startFanDelay = false;
	digitalWrite(fanPin,HIGH); // turn on the fan
	//clear serial buffer of any old data
	while (Serial.available()){
	Serial.read();
	}
	Serial.println(F("START START"));
	currentDataString = "";
	currentDataStringComplete = false;
}
void testForFiles(){// make sure there are files to prevent webpage errors

