#define ADVANCED_OK
#define ADVANCED_PAUSE_FEATURE
#define ADVANCED_PAUSE_PURGE_FEEDRATE 1.0
#define ADVANCED_PAUSE_PURGE_LENGTH 20
#define AO_EXP2_PINMAP
#define AUTO_BED_LEVELING_LINEAR
#define BABYSTEPPING
#define BABYSTEP_XY
#define BABYSTEP_ZPROBE_OFFSET
#define BACKLASH_COMPENSATION
#define BACKLASH_CORRECTION 0.0
#define BACKLASH_DISTANCE_MM {0, 0, 0}
#define BACKLASH_GCODE
#define BACKLASH_SMOOTHING_MM 3
#define BACK_PROBE_BED_POSITION 168
#define BAUDRATE 250000
#define BUFSIZE 2
#define CALIBRATION_GCODE
//#define CALIBRATION_MEASURE_BACK
#define CALIBRATION_MEASURE_FRONT
#define CALIBRATION_MEASURE_LEFT
//#define CALIBRATION_MEASURE_RIGHT
#define CALIBRATION_OBJECT_CENTER {169.5, 171.3, 0}
#define CALIBRATION_OBJECT_DIMENSIONS {22.0, 22.0, 1.5}
#define CALIBRATION_REPORTING
#define CONTROLLERFAN_SPEED 120
#define CONTROLLER_FAN_PIN FAN1_PIN
#define CUSTOM_MACHINE_NAME "LulzBot Mini LCD"
#define DEFAULT_ACCELERATION 2000
#define DEFAULT_AXIS_STEPS_PER_UNIT {100.5, 100.5, 1600, 833}
#define DEFAULT_EJERK 10.0
#define DEFAULT_Kd 108.51
#define DEFAULT_Ki 1.91
#define DEFAULT_Kp 28.79
#define DEFAULT_MAX_ACCELERATION {9000, 9000, 100, 1000}
#define DEFAULT_MAX_FEEDRATE {300, 300, 8, 40}
#define DEFAULT_STEPPER_DEACTIVE_TIME 600
#define DEFAULT_TRAVEL_ACCELERATION 2000
#define DEFAULT_XJERK 12.0
#define DEFAULT_YJERK 12.0
#define DEFAULT_ZJERK 0.4
#define DEFAULT_bedKd 382
#define DEFAULT_bedKi 65
#define DEFAULT_bedKp 294
#define DEVELOPER_SCREENS
#define DISABLE_INACTIVE_Z true
#define E0_DRIVER_TYPE A4988
#define EEPROM_AUTO_INIT
#define EEPROM_SETTINGS
#define EMERGENCY_PARSER
#define ENDSTOPS_ALWAYS_ON_DEFAULT
#define ENDSTOP_NOISE_THRESHOLD 2
#define EVENT_GCODE_SD_STOP "G28 Z\nG0 X80 Y190 F3000\nM117 Print aborted."
#define EXTRUDERS 1
#define EXTRUDE_MINTEMP 120
#define FAN_KICKSTART_TIME 100
#define FAN_MIN_PWM 70
#define FAST_PWM_FAN
#define FAST_PWM_FAN_FREQUENCY 122
#define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 1.0
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 40
#define FILAMENT_CHANGE_UNLOAD_FEEDRATE 5
#define FILAMENT_CHANGE_UNLOAD_LENGTH 80
#define FIX_MOUNTED_PROBE
#define FRONT_PROBE_BED_POSITION -4
#define G29_FAILURE_COMMANDS "M117 Bed leveling failed.\nG0 Z10\nG0 E0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nM300 P50 S0\nM300 P25 S880\nG4 S1"
#define G29_HALT_ON_FAILURE
#define G29_MAX_RETRIES 2
#define G29_RECOVER_COMMANDS "M121\nG0 Z10\nG28 X0 Y0\nG12\nM109 R160\nM400\nM117 Probing bed"
#define G29_RETRY_AND_RECOVER
#define G29_SUCCESS_COMMANDS "M117 Probe successful"
#define GRID_MAX_POINTS_X 2
#define GRID_MAX_POINTS_Y 2
#define HEATER_0_MAXTEMP 305
#define HOME_BEFORE_FILAMENT_CHANGE
#define HOMING_BACKOFF_MM {5, 5, 2}
#define HOMING_FEEDRATE_XY 1800
#define HOMING_FEEDRATE_Z 480
#define HOST_ACTION_COMMANDS
#define HOTEND_OFFSET_X {0.0, 0}
#define HOTEND_OFFSET_Y {0.0, 0}
#define HOTEND_OFFSET_Z {0.0, 0}
#define INVERT_E0_DIR true
#define INVERT_E1_DIR true
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false
#define JOYSTICK
#define JOY_EN_PIN -1
//#define JOY_X_LIMITS
#define JOY_X_PIN -1
//#define JOY_Y_LIMITS
#define JOY_Y_PIN -1
//#define JOY_Z_LIMITS
#define JOY_Z_PIN -1
#define LCD_ALEPHOBJECTS_CLCD_UI
#define LCD_SET_PROGRESS_MANUALLY
#define LEFT_PROBE_BED_POSITION 0
#define LULZBOT_ADVANCED_PAUSE_PURGE_WORKAROUND
#define LULZBOT_AERO_UNLOAD_PURGE_FEEDRATE 1.0
#define LULZBOT_AERO_UNLOAD_PURGE_LENGTH 6
#define LULZBOT_AERO_UNLOAD_WORKAROUND
#define LULZBOT_CALIBRATION_COMMANDS "M117 Starting Auto-Calibration\nT0\nG28\nG12\nM117 Calibrating...\nG425\nM500\nM117 Calibration data saved"
#define LULZBOT_EMI_MITIGATION
#define LULZBOT_LCD_MACHINE_NAME "Mini"
#define LULZBOT_LCD_TOOLHEAD_NAME "Single Extruder"
#define LULZBOT_M226_NON_ARDUINO_PINS_WORKAROUND
#define LULZBOT_M226_PIN_PROTECTION_WORKAROUND
#define LULZBOT_NO_PAUSE_FOR_REHEAT_WORKAROUND
#define LULZBOT_TOOLHEAD_M115_TYPE "SingleExtruder"
#define LULZBOT_TOUCH_UI
#define LULZBOT_WIPE_SEQUENCE_COMMANDS "M117 Hot end heating...\nM104 S170\nG28 O1\nM117 Wiping nozzle\nT0\nG1 X115 Y174 Z10 F4000\nM109 R170\nG1 Z1\nM114\nG1 X115 Y174\nG1 X45 Y174\nG1 X115 Y174\nG1 X45 Y174\nG1 X115 Y174\nG1 X45 Y174\nG1 X115 Y174\nG1 X45 Y174\nG1 X115 Y174\nG1 X45 Y174\nG1 X115 Y174\nG1 X45 Y174\nG1 Z15\nM400\nM106 S255\nG0 X0 Y168M109 R160\nM107"
#define MACHINE_UUID "083f68f1-028e-494c-98e1-f2e0dfaee9a5"
#define MANUAL_FEEDRATE {2340, 2340, 2340, 60.0}
#define MAX_BED_POWER 255
#define MAX_PROBE_X 163
#define MAX_PROBE_Y 168
#define MEASURE_BACKLASH_WHEN_PROBING
#define MINIMUM_STEPPER_PULSE 1
//#define MIN_PROBE_EDGE
#define MIN_PROBE_X 0
#define MIN_PROBE_Y -4
#define MIN_STEPS_PER_SEGMENT 6
#define MOTHERBOARD BOARD_MINIRAMBO
#define MULTIPLE_PROBING 2
#define NOZZLE_CLEAN_END_POINT {115, 174, -0.5}
#define NOZZLE_CLEAN_FEATURE
//#define NOZZLE_CLEAN_GOBACK
#define NOZZLE_CLEAN_START_POINT {45, 174, -0.5}
#define NOZZLE_PARK_FEATURE
#define NOZZLE_PARK_POINT {10, 185, 20}
#define NO_VOLUMETRICS
#define NO_WORKSPACE_OFFSETS
#define NUM_SERVOS 0
#define PARK_HEAD_ON_PAUSE
#define PAUSE_PARK_NOZZLE_TIMEOUT 300
#define PAUSE_PARK_RETRACT_FEEDRATE 10
#define PIDTEMP
#define PIDTEMPBED
#define PREHEAT_1_TEMP_HOTEND 200
#define PREVENT_COLD_EXTRUSION
//#define PRINTJOB_TIMER_AUTOSTART
#define PROBE_Y_FIRST
#define PROBING_FANS_OFF
#define PROBING_STEPPERS_OFF
#define PWM_MOTOR_CURRENT {1300, 1630, 1250}
#define QUICK_HOME
#define RESTORE_LEVELING_AFTER_G28
#define RIGHT_PROBE_BED_POSITION 163
//#define SCROLL_LONG_FILENAMES
#define SDSUPPORT
#define SD_ABORT_ON_ENDSTOP_HIT
//#define SD_DETECT_INVERTED
#define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E"
#define SD_FINISHED_STEPPERRELEASE true
#define SERIAL_PORT 0
#define SOFT_PWM_SCALE 4
#define SPI_SPEED SPI_FULL_SPEED
#define STRING_CONFIG_H_AUTHOR "(Aleph Objects Inc., LulzBot Git Repository)"
#define TEMP_BED_HYSTERESIS 5
#define TEMP_BED_RESIDENCY_TIME 1
#define TEMP_BED_WINDOW 5
#define TEMP_HYSTERESIS 10
#define TEMP_RESIDENCY_TIME 1
#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_BED 7
#define TEMP_WINDOW 10
#define THERMAL_PROTECTION_BED_HYSTERESIS 10
#define THERMAL_PROTECTION_BED_PERIOD 15
#define THERMAL_PROTECTION_HYSTERESIS 30
#define THERMAL_PROTECTION_PERIOD 15
#define TOUCH_UI_480x272
#define TOUCH_UI_PORTRAIT
#define TOUCH_UI_USE_UTF8
#define TOUCH_UI_UTF8_COPYRIGHT
#define TOUCH_UI_UTF8_SUPERSCRIPTS
#define TX_BUFFER_SIZE 32
#define USB_FLASH_DRIVE_SUPPORT
#define USB_INTR_PIN SD_DETECT_PIN
#define USE_CONTROLLER_FAN
#define USE_UHS3_USB
#define USE_XMAX_PLUG
#define USE_XMIN_PLUG
#define USE_YMAX_PLUG
#define USE_YMIN_PLUG
#define USE_ZMAX_PLUG
#define USE_ZMIN_PLUG
#define VALIDATE_HOMING_ENDSTOPS
#define WATCH_TEMP_INCREASE 2
#define WATCH_TEMP_PERIOD 20
#define XY_PROBE_SPEED 6000
#define X_BED_SIZE 155
#define X_DRIVER_TYPE A4988
#define X_HOME_BUMP_MM 5
#define X_HOME_DIR -1
#define X_MAX_ENDSTOP_INVERTING 1
#define X_MAX_POS 165
#define X_MIN_ENDSTOP_INVERTING 1
#define X_MIN_POS 0
#define X_PROBE_OFFSET_FROM_EXTRUDER 0
#define Y_BED_SIZE 155
#define Y_DRIVER_TYPE A4988
#define Y_HOME_BUMP_MM 5
#define Y_HOME_DIR 1
#define Y_MAX_ENDSTOP_INVERTING 1
#define Y_MAX_POS 195
#define Y_MIN_ENDSTOP_INVERTING 1
#define Y_MIN_POS -8
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0
#define Z_CLEARANCE_BETWEEN_PROBES 5
#define Z_CLEARANCE_DEPLOY_PROBE 5
#define Z_DRIVER_TYPE A4988
#define Z_HOME_BUMP_MM 2
#define Z_HOME_DIR 1
#define Z_HOMING_HEIGHT 4
#define Z_MAX_ENDSTOP_INVERTING 1
#define Z_MAX_POS 159
#define Z_MIN_ENDSTOP_INVERTING 1
#define Z_MIN_POS -5
#define Z_MIN_PROBE_ENDSTOP_INVERTING 1
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_PROBE_LOW_POINT -5
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.375
#define Z_PROBE_OFFSET_RANGE_MAX 5
#define Z_PROBE_OFFSET_RANGE_MIN -2
#define Z_PROBE_SPEED_FAST 480
#define Z_PROBE_SPEED_SLOW 60
