deleted extraneous function for writing string to arduino, now using parameter to pass either delay string or reps string