can the delay in a sketch be controlled externally from the sketch
delay(analogRead(pin)); // delay up to approx. 1 second based on reading from analog input