 int dataPin = 4;
 
 int motorPin = 5;
-long motor_time = 500; //number of milliseconds the motor vibrates
+long motor_on = 200; //number of milliseconds the motor vibrates
+long motor_off = 100; //pause between pulses
 
 int buttonPin = 2;
 

    }
    
    if (inputString[inputString.length()-1] == ']') {
      analogWrite(motorPin, 200);
      time = millis();
    }
    

boolean stringComplete = false;
boolean USB_connected = false;
unsigned long time = 0;

int motorCount = 2;
int motorPulse = 2;
volatile int motorState = LOW;
boolean motorCommand = false;

void setup() {
  //set pins to output so you can control the shift register
