 #include <sx1509_library.h>
 #include <Adafruit_NeoPixel.h>
 
-//Not sure if these are needed, but the LED isn't working so might as well
 #ifdef __AVR__
 #include <avr/power.h>
 #endif

			aleft=255;
			pleft=aleft;
			pright=0;
			// nleft=180;
		} else if (right==0) {
			aright=255;
			pright=aright;
			pleft=0;
			// nright=180;
		}
		motor_SetOutputs(nleft,aleft,nright,aright );
		Serial.print(pleft);
		Serial.print(" ");
		Serial.print(pright);

			ESP.restart();
		}
	}

	// Setup the network event handlers
	server.on("/",server_HandleRoot);
	server.onNotFound(server_HandleNotFound);	
	server.begin(); // Start the listeners

	// Print debug info
	Serial.print("Webserver active");
	Serial.print(" | ");
	Serial.println(WiFi.SSID());
	Serial.print("signal strength (RSSI):");
	Serial.println(WiFi.RSSI());
	Serial.println("IP Addresses: ");
	Serial.print("\tLOCAL\t");
	Serial.println(WiFi.localIP());
	Serial.print("\tSOFTAP\t");
	Serial.println(WiFi.softAPIP());

	// OTA update handling
	ArduinoOTA.begin();

	// Boot noises and colours
	tone(13, 500,250);
	delay(250);
	noTone(13);
