 #define PIN_BUTTON_EMERGENCYSTOP 3
 #define PIN_LIMITSWITCH_OPEN 18
 #define PIN_LIMITSWITCH_CLOSE 19
+#define MOTOR_CURRENT_LIMIT_MILLIAMPS 2500
 #define MOTOR_POLARITY 1    // Change to -1 to invert movement direction
 #define FULL_SPEED 400
+#define CLOSING_SPEED 50
 #define RAMP_LENGTH 20      // two seconds
 
 void motorTick();

    if (countSincePhase % 10 == 0) {
        status("");
        powerConsumptionLog.report(serial);
    }

    if (emergencyStopPressed) {

}

void status(const String&) {
    static const char* roofStateNames[] = { "STOPPED", "OPEN", "CLOSED", "OPENING", "CLOSING", "STOPPING", "ERROR" };
    static const char* phaseNames[] = { "IDLE", "RAMP_UP", "MOVE_UNTIL_NEAR", "RAMP_DOWN", "CLOSE_TIGHTLY" };

    String message = "STATUS,";
