     double dddfx = tmp2x * pre5;
     double dddfy = tmp2y * pre5;
     int step = NUM_STEPS;
+#ifdef DEBUG
+    String str = "curve:";
+    str += x0;
+    str += ",";
+    str += y0;
+    str += " ";
+    str += x1;
+    str += ",";
+    str += y1;
+    str += " ";
+    str += x2;
+    str += ",";
+    str += y2;
+    str += " ";
+    str += x3;
+    str += ",";
+    str += y3;
+    Serial.println(str);
+#endif
     while (step--)
     {
         fx += dfx;

        setPower(v[0]);
        setSpeed(v[1]);
        setAccel(v[2]);
        finishCommand();
        break;
    }
    case 'e':

    uint8_t acceleration = 1;
    uint8_t statesIndex = 0;
    uint8_t cmdsIndex = 0;
    int8_t plannedIndex = -1;
    uint8_t isRunningState = MOTION_ACCELETING;
    uint8_t powerPin = 10;
    String buffer = "";
    bool isFinish = true;
};
SystemStatus _sys;
MeStepper steppers[NUM_AXIS] = {MeStepper(SLOT_1), MeStepper(SLOT_2)};

void setup()
{
    Serial.begin(115200);
    delay(1000);
    initTimer();
    for (int i = 0; i < NUM_AXIS; i++)
    {
        steppers[i].setMicroStep(16);
        steppers[i].enableOutputs();
    }
    Serial.println("opened");
}

void loop()
