     }
  //sets the state
  state = 1; 
+ Serial.print(state);
 }


void setup(){
  // set the speed at 10 rpm
  myStepper.setSpeed(5);
  //initialize serial port
  Serial.begin(9600);
  //define pins  

  // Set the state
  state = newState;
  // Notify the Pi
  Serial.print(state);
}

//resets the turntable
