#include <Servo.h> 

const int SERVO_PIN = 6;
const int SWITCH_PIN = 10;

Servo svo;

void setup(void)
{
  pinMode(SWITCH_PIN, INPUT);
  svo.attach(SERVO_PIN);
}

bool previously_pressed = false;
int angle = 0;
  
void loop(void)
{
  bool input = digitalRead(SWITCH_PIN);

  if (input) {
    // if the switch has not been pressed
    if (previously_pressed) {
      
    
  if (switchPressed) {
  // wait for the switch to be pressed
  while (digitalRead(SWITCH_PIN))  {
    // do nothing
  }

  while 
  

    
  for (int idx = 0; idx < 12; idx = idx + 1) {
    svo.write(angles[idx]);
    delay(500);
  }
}

