 
 
 
-void spinPlatform(int steps, int directions){ //this spins the cake platform given # of steps
+void spinPlatform(int steps, int directions){ 
+  //this spins the cake platform given # of steps
+  //direction of 1 should mean clockwise, 0 = counterclockwise
+  //no outputs
   int stepCounter = steps;
-  //int turn = directions;
+  digitalWrite(platformDirection,LOW)
+  if (directions == 1) {  // switches direction if clockwise. May have to change this
+    digitalWrite(platformDirection,HIGH)
+  }
+
   while (stepCounter>0){
-    Serial.print("turn a step cw");
     digitalWrite(platformStep, HIGH);
-    delay(200);
+    delay(100);
     digitalWrite(platformStep,LOW);
     stepCounter -= 1;
-    delay(200);
-  
-  while (stepCounter<0){
-    Serial.print("turn a step ccw");
-    digitalWrite(platformStep, LOW);
-    delay(200);
-    digitalWrite(platformStep, HIGH);
-    stepCounter -= 1;
-    delay(200); }
-  
-}
+    delay(200);  
+}

    serialNumbers += c;
 }

  
 if (serialInput == "CON"){
   Serial.println("YES");
 }
 
 if (serialInput == "TLS"){
   moveTopStepper();

}


void greenButton(int steps, int directions){
  int exportButton() {
  int greenReading = digitalRead(greenButton);
  int orangeReading = digitalRead(masterOnOff);
