diff --git a/platform/platform.ino b/platform/platform.ino
new file mode 100644
index 0000000..8d1cc3e
--- /dev/null
+++ b/platform/platform.ino
@@ -0,0 +1,75 @@
+#include
+#include
+#include
+
+// Replace with your network credentials
+const char* ssid = "Galaxy M211BF1";
+const char* password = "pufy3612";
+
+ESP8266WebServer server(80); //instantiate server at port 80 (http port)
+
+String page = ""; //For the Web Server
+String page2=""; //For updating Status of motor 1
+void setup(void)
+{
+ //the HTML of the web page
+ page = "
Motor Control Web Server
";
+
+ pinMode(D2, OUTPUT); // inputs for motor 1
+ pinMode(D1,OUTPUT);
+ Serial.begin(115200);
+ WiFi.begin(ssid, password); //begin WiFi connection
+ Serial.println("");
+
+ // Wait for connection
+ while (WiFi.status() != WL_CONNECTED) {
+ delay(500);
+ Serial.print(".");
+ }
+ digitalWrite(LED_BUILTIN,HIGH); // when connected turns high
+ Serial.println("");
+ Serial.print("Connected to ");
+ Serial.println(ssid);
+ Serial.print("IP address: ");
+ Serial.println(WiFi.localIP()); //provides IP address
+ server.on("/", [](){
+ server.send(200, "text/html", page+page2);
+ });
+ server.on("/Forward",Forward);
+ server.on("/Backward",Backward);
+
+
+ server.on("/Stop",[](){ // turns all the motor input pins low
+ page2="