#define ADAPTIVE_FAN_SLOWING
#define ADVANCED_OK
//#define ADVANCED_PAUSE_FEATURE
#define ADVANCED_PAUSE_PURGE_FEEDRATE 1.7
#define ADVANCED_PAUSE_PURGE_LENGTH 20
#define AO_EXP1_PINMAP
#define BABYSTEPPING
#define BABYSTEP_XY
#define BACKLASH_COMPENSATION
#define BACKLASH_CORRECTION 0.0
#define BACKLASH_DISTANCE_MM {0, 0, 0}
#define BACKLASH_GCODE
#define BACKLASH_SMOOTHING_MM 3
#define BAUDRATE 250000
#define BUFSIZE 5
#define CHOPPER_TIMING {3, -2, 6}
#define CONTROLLERFAN_SPEED 255
#define CONTROLLERFAN_SPEED_Z_ONLY 120
#define CONTROLLER_FAN_PIN FAN1_PIN
#define CUSTOM_MACHINE_NAME "LulzBot Bio"
#define DEFAULT_ACCELERATION 2000
#define DEFAULT_AXIS_STEPS_PER_UNIT {100, 100, 200, 9448.8}
#define DEFAULT_EJERK 10.0
#define DEFAULT_MAX_ACCELERATION {9000, 9000, 200, 1000}
#define DEFAULT_MAX_FEEDRATE {300, 300, 300, 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 false
#define E0_CURRENT 350
#define E0_DRIVER_TYPE TMC2130
#define E0_RSENSE 0.12
#define EEPROM_AUTO_INIT
#define EEPROM_SETTINGS
#define EMERGENCY_PARSER
#define EVENT_GCODE_SD_STOP "G28 Z\nM117 Print aborted."
#define EXTRUDERS 1
#define EXTRUDE_MINTEMP 0
#define E_MIN_PIN X_MAX_PIN
#define E_MIN_PIN_INVERTING 0
#define FAN_KICKSTART_TIME 100
#define FAN_MIN_PWM 70
#define FAN_PIN -1
#define FAST_PWM_FAN
#define FAST_PWM_FAN_FREQUENCY 122
#define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE 1.7
#define FILAMENT_CHANGE_FAST_LOAD_LENGTH 40
#define FILAMENT_CHANGE_UNLOAD_FEEDRATE 5
#define FILAMENT_CHANGE_UNLOAD_LENGTH 80
#define GCODE_MACROS
#define HEATER_0_MAXTEMP 305
#define HOLD_MULTIPLIER 0.5
#define HOME_AFTER_DEACTIVATE
#define HOME_BEFORE_FILAMENT_CHANGE
#define HOMING_BACKOFF_MM {5, 5, 2}
#define HOMING_FEEDRATE_XY 3000
#define HOMING_FEEDRATE_Z 2400
#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 HYBRID_THRESHOLD
#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 LIN_ADVANCE
#define LIN_ADVANCE_K 0.0
#define LULZBOT_ADVANCED_PAUSE_PURGE_WORKAROUND
#define LULZBOT_AERO_UNLOAD_PURGE_FEEDRATE 1.7
#define LULZBOT_AERO_UNLOAD_PURGE_LENGTH 6
#define LULZBOT_AERO_UNLOAD_WORKAROUND
#define LULZBOT_AXIS_LEVELING_COMMANDS "M117 Leveling X Axis\nG28\nG0 X170 Y75 F9999\nG0 Z5 F6000\nG91\nM211 S0\nM400\nM906 Z600\nG0 Z-15 F500\nG0 Z5 F500\nM400\nG90\nM906 Z960\nM211 S1\nG28 Z0\nM117 Leveling done."
#define LULZBOT_DISABLE_TOOLHEAD_HEATER
#define LULZBOT_EMI_MITIGATION
#define LULZBOT_E_TRAVEL_LIMIT 60
#define LULZBOT_LCD_KEEPS_STATUS_AFTER_PRINT
#define LULZBOT_LCD_MACHINE_NAME "LulzBot Bio"
#define LULZBOT_LCD_TOOLHEAD_NAME "Syringe Pump"
#define LULZBOT_M226_NON_ARDUINO_PINS_WORKAROUND
#define LULZBOT_M226_PIN_PROTECTION_WORKAROUND
#define LULZBOT_NO_PAUSE_FOR_REHEAT_WORKAROUND
#define LULZBOT_PARK_AND_RELEASE_COMMANDS "G0 X115 Z50 F6000\nM400\nM18 X Y"
#define LULZBOT_TOOLHEAD_M115_TYPE "SingleExtruder"
#define LULZBOT_TOUCH_UI
#define LULZBOT_USE_BIOPRINTER_GCODE
#define LULZBOT_USE_BIOPRINTER_UI
#define MACHINE_UUID "9a1d8eee-7118-40a7-942d-9541f35667dd"
#define MANUAL_FEEDRATE {2340, 2340, 2340, 102.0}
#define MAX_BED_POWER 255
//#define MAX_SOFTWARE_ENDSTOPS
#define MEASURE_BACKLASH_WHEN_PROBING
#define MINIMUM_STEPPER_PULSE 0
//#define MIN_SOFTWARE_ENDSTOPS
#define MIN_STEPS_PER_SEGMENT 6
#define MONITOR_DRIVER_STATUS
#define MOTHERBOARD BOARD_EINSY_RETRO
//#define NOZZLE_PARK_FEATURE
#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 PRINTCOUNTER
//#define PRINTJOB_TIMER_AUTOSTART
//#define QUICK_HOME
#define SCROLL_LONG_FILENAMES
#define SDSUPPORT
#define SD_ABORT_ON_ENDSTOP_HIT
//#define SD_DETECT_INVERTED
#define SD_FINISHED_RELEASECOMMAND "M84 X Y E"
#define SD_FINISHED_STEPPERRELEASE false
#define SENSORLESS_HOMING
#define SERIAL_PORT 0
#define SOFT_PWM_SCALE 4
#define SPI_SPEED SPI_SIXTEENTH_SPEED
#define STARTUP_COMMANDS "M17 Z"
#define STEALTHCHOP_E
//#define STEALTHCHOP_XY
#define STEALTHCHOP_Z
#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 TMC_ADV {stepperX.toff(1);stepperX.hstrt(4);stepperX.hend(0);stepperX.tbl(1);stepperY.toff(1);stepperY.hstrt(4);stepperY.hend(0);stepperY.tbl(1);stepperZ.toff(1);stepperZ.hstrt(0);stepperZ.hend(0);stepperZ.tbl(1);stepperE0.toff(1);stepperE0.hstrt(0);stepperE0.hend(0);stepperE0.tbl(1);stepperX.shaft(1);stepperX.semin(1);stepperX.semax(3);stepperY.shaft(1);stepperY.semin(1);stepperY.semax(3);stepperZ.shaft(1);stepperZ.semin(1);stepperZ.semax(3);stepperE0.shaft(1);stepperE0.semin(1);stepperE0.semax(3);}
#define TMC_DEBUG
#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 USE_CONTROLLER_FAN
#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 X_BED_SIZE 157
#define X_CURRENT 920
#define X_DRIVER_TYPE TMC2130
#define X_HOME_BUMP_MM 0
#define X_HOME_DIR -1
#define X_HYBRID_THRESHOLD 72
#define X_MAX_ENDSTOP_INVERTING 0
#define X_MAX_POS 173
#define X_MIN_ENDSTOP_INVERTING 1
#define X_MIN_POS -3
#define X_RSENSE 0.12
#define X_STALL_SENSITIVITY 4
#define Y_BED_SIZE 157
#define Y_CURRENT 920
#define Y_DRIVER_TYPE TMC2130
#define Y_HOME_BUMP_MM 0
#define Y_HOME_DIR 1
#define Y_HYBRID_THRESHOLD 72
#define Y_MAX_ENDSTOP_INVERTING 1
#define Y_MAX_POS 192
#define Y_MIN_ENDSTOP_INVERTING 0
#define Y_MIN_POS -5
#define Y_RSENSE 0.12
#define Y_STALL_SENSITIVITY 4
#define Z_CLEARANCE_BETWEEN_PROBES 30
#define Z_CLEARANCE_DEPLOY_PROBE 30
#define Z_CURRENT 960
#define Z_DRIVER_TYPE TMC2130
#define Z_HOME_BUMP_MM 2
#define Z_HOME_DIR 1
#define Z_HOMING_HEIGHT 4
#define Z_MAX_ENDSTOP_INVERTING 0
#define Z_MAX_POS 183
#define Z_MICROSTEPS 32
#define Z_MIN_ENDSTOP_INVERTING 1
#define Z_MIN_POS 0
#define Z_MIN_PROBE_ENDSTOP_INVERTING 1
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_PROBE_LOW_POINT 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.1
#define Z_RSENSE 0.12
