         } else if (data == rQuery) {
             findsensor(maxPulse);
             sendid();
-            flashled();
         } else if (data == rTurn) {
             turn(halfTurns, startPitch, dir);
         } else if (data == rGliss) {

    unsigned long startTime = millis();
    int pulse = pitchToPulse(pitch);
    int startstoppulse = max(maxPulse, pulse);
    digitalWrite(LED_BUILTIN, HIGH);
    digitalWrite(dirPin, dir);
    delayMicroseconds(pulseWidth);
    for (int i=0; i<accelSteps; i++) {

    return (pitch / 2.0) + 36;
}

void onestep(unsigned long pulseTime) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidth);
