   }
 }
 
+void experimental_servoMove() 
+{
+  // Can't move servo & motor at the same time.
+  motion_stop();
+  
+  // Stop the motor pins being outputs.
+  pinMode(motorA_pwm, INPUT);
+  pinMode(motorB_pwm, INPUT); 
+  
+  servo.attach(19);
+  servo.write(1500);
+  delay(1000); // yeah it's experimental
+  servo.detach(); // Our modified detach() that frees the timer for the motors to use again.
+}
+

// without stopping everything for a delay.
#include "SimpleTimer.h"


#include "Sound.h"


// although there is little point in doing so.
SimpleTimer timer;

// Create the sound playing object.
Sound snd(sound_pin);

ServoTimer2 servo;

void setup() {
  Serial.begin(9600); // Open serial monitor at 9600 baud to see debugging messages.
  
  
  // Setup Channel A
