   digitalWrite(LEDsignal, LOW);
   
   
- OCR0A = 0xAF;            // any number is OK
- TIMSK |= _BV(OCIE0A);    // Turn on the compare interrupt (below!)
+OCR0A = 0xAF;            // any number is OK
+TIMSK |= _BV(OCIE0A);    // Turn on the compare interrupt (below!)
   
-  myServo1.attach(SERVO1PIN);   // Attach the servo to pin 0 on Trinket
-  myServo1.write(165);          // Initial position (horizontal)
+  myServo1.attach(servoPin);   // Attach the servo to pin 0 on Trinket
+  myServo1.write(180);          // Initial position (horizontal)
   delay(15);                   // Wait 15ms for the servo to reach the position
 }
 

      //----------------- Controlling the Servo ------------------
      //----------------------------------------------------------
 
      // Low signal from Camera, 0.15 - 0.35s (picture button)
      if (millis_held > 150  && millis_held < 350) { 
        
        //Move from 0 to -90 degrees (horizontal to straight down)
        if(toggle){
          myServo1.write(70);
          toggle = !toggle;
          digitalWrite(LEDsignal, HIGH);   // turn the LED on
          delay(500);                       // wait for half a second
          digitalWrite(LEDsignal, LOW);    // turn the LED off
        }
        //Move from 90 to 0 degrees (straight down to horizontal)
        else{
          myServo1.write(165);
          toggle = !toggle;
          digitalWrite(LEDsignal, HIGH);   // turn the LED on
          delay(500);                       // wait for half a second
          digitalWrite(LEDsignal, LOW);    // turn the LED off
        }
      } //0.25s end_if
      
     // Low signal from Camera is >0.5s (video button)
      if (millis_held > 500) {
        //whatever we want... haven't decided yet
      }//0.75s end_if
 
      //----------------------------------------------------------
      //----------------------------------------------------------

#include <Adafruit_SoftServo.h>

/*******************************************************************
  SYMA X5C servo control
*******************************************************************
