   Serial.begin(38400);
   osp_setup();
   OSP_SET_WIDTH(254);
+  start = micros();
 }
 
 void loop()
 {
+  /*long time = micros();
+  pos = round(amp*sin(2*PI*0.5*(time-start)/1000000.0) + mid);
+  OSP_SET_AND_FIRE(pos);
+  _delay_ms(20);*/
+  
   // Step though 0-19 cycle long pulses for demo purposes 
-  long start = micros();
+  /*long start = micros();
   //for(int i=0; i < 150; i++)
   //{
     OSP_FIRE(); //160 = 10us

  //}
  long now = micros();
  Serial.println(now-start);
  _delay_ms(20);
  /*for (pos = mid-100; pos < mid+100; pos++) {

    OSP_SET_AND_FIRE(pos*F_CPU / 1000000);

    //while (OSP_INPROGRESS());         // This just shows how you would wait if nessisary - not nessisary in this application. 



  }
  
  for (pos = 192; pos > 168; pos--) {

    OSP_SET_AND_FIRE(pos);

    //while (OSP_INPROGRESS());         // This just shows how you would wait if nessisary - not nessisary in this application. 

    _delay_ms(20);      // Wait a sec to let the audience clap

  }

}
