# slow motion question

Sorry i dont know if this is the correct spot to ask this but how can i control the speed from spin start to spin stop in this program, im new, lol. Thanks in advance for any assistance, Bob

// MRH 6 Switched 6 Servos with Pushbuttons & LED Indicators
// G. Bunza 2016
//
#include <SoftwareServo.h>
#define numpins 6 // Number of Servos
SoftwareServo servo[numpins] ;

int i,k,l;
int pins [ ]= {23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46}; // Pushbutton/LED pins
int spins [ ]= {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22}; // Servo pins
int sstart [ ]= {63,62,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57}; // Servo Start Positions
int sstop [ ]= {90,83,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90}; // Servo Stop Positions
boolean pinval [ ]= { true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true }; // Servo State
//
void setup() {
for (i=0; i<numpins; i++) {
servo_.attach (spins*); // Set up servo controls*_
servo_.write(sstart*); // Set each servo to start position*
* }
pinMode(pins,OUTPUT); // Initialize PB/LED pins*

digitalWrite(pins*,HIGH);
}
void loop() {
SoftwareServo::refresh(); // Must Refresh the Internal Servo Control*_

* for (i=0; i<numpins; i++) {*
pinMode (pins*,INPUT_PULLUP);
_ if (digitalRead(pins)==LOW) { // Check if a Pushbutton is pressed*
pinval=!pinval*; // Assume only one at a time*
if (pinval==true) servo.write(sstart*);
else servo.write(sstop);
while (digitalRead(pins)==LOW) {SoftwareServo::refresh(); } // Wait until PB is released*

* }
pinMode(pins,OUTPUT); // Now go back to maintaining LEDs*

digitalWrite(pins,pinval*);
}
}*_

your code is italic because code contains markup strings
==> the code visible is not the real code