 OutputPin stepPinX(4);
 OutputPin dirPinY(3);
 OutputPin stepPinY(2);
-#define minPulseTime 1
-#define delayUs __asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t");__asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t");__asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t");__asm__("nop\n\t""nop\n\t""nop\n\t""nop\n\t")
+
 long xPosition = 0;
 long yPosition = 0;
 

                err += dx;
                stepY(sy);
            }
            delayMicroseconds(currentDuringTime);
            
            //     delayUs;delayUs;
        }


void setup(){
    Serial.begin(115200);
    Timer1.initialize(500);
    Timer1.attachInterrupt(updateMotion);
    pinMode(7,OUTPUT);
