Closed fred2088 closed 5 years ago
Configuration files? Without them we will not know what display you are using or how you have things configured, which means no one will be able to help you.
// Last Updated : 2019-01-12 // Define TinyBoy Model --- Select One Only (只可選一項) ---
// #define TINYBOY_RA20 // #define TINYBOY_RA30
// #define TINYBOY_E16
// #define TINYBOY_E30 // #define TINYBOY_E40 // #define TINYBOY_E8 // #define TINYBOY_RE20
// #define TINYBOY_M10 // #define TINYBOY_M16
// #define TINYBOY_J10 // #define TINYBOY_L10 // #define TINYBOY_L16 /**
*/
/**
*/
//=========================================================================== //============================= Getting Started ============================= //===========================================================================
/**
//=========================================================================== //============================= DELTA Printer =============================== //=========================================================================== // For a Delta printer start with one of the configuration files in the // example_configurations/delta directory and customize for your machine. //
//=========================================================================== //============================= SCARA Printer =============================== //=========================================================================== // For a SCARA printer start with the configuration files in // example_configurations/SCARA and customize for your machine. //
//=========================================================================== //============================= HANGPRINTER ================================= //=========================================================================== // For a Hangprinter start with the configuration file in the // example_configurations/hangprinter directory and customize for your machine. //
// @section info
// User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware.
/**
// Enable to show the bitmap in Marlin/_Bootscreen.h on startup. // fred
// Enable to show the bitmap in Marlin/_Statusscreen.h on the status screen. //#define CUSTOM_STATUS_SCREEN_IMAGE
// @section machine
/**
/**
// Enable the Bluetooth serial interface on AT90USB devices //#define BLUETOOTH
// The following define selects which electronics board you have. // Please choose the name from boards.h that matches your setup // fred
#define MOTHERBOARD BOARD_MELZI
#define MOTHERBOARD BOARD_RAMPS_13_EFB
// Optional custom name for your RepStrap or other custom machine // Displayed in the LCD "Ready" message // fred
// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines) // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4) //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
// @section extruder
// This defines the number of extruders // :[1, 2, 3, 4, 5]
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc. // fred
// For Cyclops or any "multi-extruder" that shares a single nozzle. //#define SINGLENOZZLE
/**
// Override the default DIO selector pins here, if needed. // Some pins files may provide defaults for these pins. //#define E_MUX0_PIN 40 // Always Required //#define E_MUX1_PIN 42 // Needed for 3 to 8 steppers //#define E_MUX2_PIN 44 // Needed for 5 to 8 steppers
// A dual extruder that uses a single stepper motor //#define SWITCHING_EXTRUDER
#define SWITCHING_EXTRUDER_E23_SERVO_NR 1
// A dual-nozzle that uses a servomotor to raise/lower one of the nozzles //#define SWITCHING_NOZZLE
//#define HOTEND_OFFSET_Z { 0.0, 0.0 }
/**
/**
//#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands
// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing). // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder). // For the other hotends it is their distance from the extruder 0 hotend. //#define HOTEND_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis //#define HOTEND_OFFSET_Y {0.0, 5.00} // (in mm) for each extruder, offset of the hotend on the Y axis
// @section machine
/**
// Enable this option to leave the PSU off at startup. // Power to steppers and heaters will need to be turned on with M80. //#define PS_DEFAULT_OFF
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#define AUTO_POWER_FANS // Turn on PSU if fans need power
#define AUTO_POWER_E_FANS
#define AUTO_POWER_CONTROLLERFAN
#define POWER_TIMEOUT 30
// @section temperature
//=========================================================================== //============================= Thermal Settings ============================ //===========================================================================
/**
// fred
// Dummy thermistor constant temperature readings, for use with 998 and 999
// Use temp sensor 1 as a redundant sensor with sensor 0. If the readings // from the two sensors differ too much the print will be aborted. //#define TEMP_SENSOR_1_AS_REDUNDANT
// Extruder temperature must be close to target for this long before M109 returns success
// Bed temperature must be close to target for this long before M190 returns success
// The minimal temperature defines the temperature below which the heater will not be enabled It is used // to check that the wiring to the thermistor is not broken. // Otherwise this would lead to the heater being powered on all the time.
// When temperature exceeds max temp, your heater will be switched off. // This feature exists to protect your hotend from overheating accidentally, but NOT from thermistor short/failure! // You should use MINTEMP for thermistor short/failure protection.
//=========================================================================== //============================= PID Settings ================================ //=========================================================================== // PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning
// Comment the following line to disable PID and enable bang-bang.
//#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result. //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders) // Set/get with gcode: M301 E[extruder number, 0-2]
// is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
// Ultimaker
// MakerGear //#define DEFAULT_Kp 7.0 //#define DEFAULT_Ki 0.1 //#define DEFAULT_Kd 12
// Mendel Parts V9 on 12V //#define DEFAULT_Kp 63.0 //#define DEFAULT_Ki 2.25 //#define DEFAULT_Kd 440
//=========================================================================== //============================= PID > Bed Temperature Control =============== //===========================================================================
/**
//#define BED_LIMIT_SWITCHING
/**
//#define PID_BED_DEBUG // Sends debug data to the serial port.
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from pidautotune //#define DEFAULT_bedKp 97.1 //#define DEFAULT_bedKi 1.41 //#define DEFAULT_bedKd 1675.16
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
// @section extruder
/**
/**
//=========================================================================== //======================== Thermal Runaway Protection ======================= //===========================================================================
/**
//=========================================================================== //============================= Mechanical Settings ========================= //===========================================================================
// @section machine
// Uncomment one of these options to enable CoreXY, CoreXZ, or CoreYZ kinematics // either in the usual order or reversed //#define COREXY //#define COREXZ //#define COREYZ //#define COREYX //#define COREZX //#define COREZY
//=========================================================================== //============================== Endstop Settings =========================== //===========================================================================
// @section homing
// Specify here all the endstop connectors that are connected to any endstop or probe. // Almost all printers will be using one per axis. Probes will use one or more of the // extra connectors. Leave undefined any used for non-endstop and non-probe purposes. // fred
//#define USE_YMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_ZMAX_PLUG
//#define USE_XMIN_PLUG
//#define USE_YMAX_PLUG //#define USE_ZMAX_PLUG
// Enable pullup for all endstops to prevent a floating state
// Disable ENDSTOPPULLUPS to set pullups individually //#define ENDSTOPPULLUP_XMAX //#define ENDSTOPPULLUP_YMAX //#define ENDSTOPPULLUP_ZMAX //#define ENDSTOPPULLUP_XMIN //#define ENDSTOPPULLUP_YMIN //#define ENDSTOPPULLUP_ZMIN //#define ENDSTOPPULLUP_ZMIN_PROBE
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). // fred
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
/**
// Enable this feature if all enabled endstop pins are interrupt-capable. // This will remove the need to poll the interrupt pins, saving many CPU cycles. //#define ENDSTOP_INTERRUPTS_FEATURE
/**
//============================================================================= //============================== Movement Settings ============================ //============================================================================= // @section motion
/**
/**
/**
/**
/**
/**
/**
/**
//=========================================================================== //============================= Z Probe Options ============================= //=========================================================================== // @section probes
// // See http://marlinfw.org/docs/configuration/probes.html //
/**
/**
*/ //#define Z_MIN_PROBE_ENDSTOP
/**
/**
//#define MANUAL_PROBE_START_Z 0.2
/**
/**
/**
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
/**
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
//#define PROBING_FANS_OFF // Turn fans off when probing //#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) //#define SOLENOID_PROBE
// A sled-mounted probe like those designed by Charles Bell. //#define Z_PROBE_SLED //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
// // For Z_PROBE_ALLEN_KEY see the Delta example configurations. //
/**
// Certain types of probes need to stay away from edges
// X and Y axis travel speed (mm/m) between probes
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
// Feedrate (mm/m) for the "accurate" probe of each point
// The number of probes to perform at each point. // Set to 2 for a fast/slow probe, using the second probe result. // Set to 3 or more for slow probes, averaging the results. //#define MULTIPLE_PROBING 2
/**
M851 Z-5
with a CLEARANCE of 4 => 9mm from bed to nozzle.M851 Z+1
with a CLEARANCE of 2 => 2mm from bed to nozzle.
*/
//#define Z_AFTER_PROBING 5 // Z position after probing is done
// For M851 give a range for adjusting the Z probe offset
// Enable the M48 repeatability test to test probe accuracy //#define Z_MIN_PROBE_REPEATABILITY_TEST
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' }
// Disables axis stepper immediately when it's not being used. // WARNING: When motors turn off there is a chance of losing position accuracy!
// Warn on display about possibly reduced accuracy //#define DISABLE_REDUCED_ACCURACY_WARNING
// @section extruder
// @section machine
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. // fred
// @section extruder
// For direct drive extruder v9 set to true, for geared extruder set to false. // fred
// @section homing
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
// fred //#define Z_HOMING_HEIGHT 0 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ... // Be sure you have this distance over your Z_MAX_POS in case.
// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1] // fred
// @section machine
// The size of the print bed
// Travel limits (mm) after homing, corresponding to endstop positions. // fred
/**
// Min software endstops constrain movement within minimum coordinate bounds
// Max software endstops constrain movement within maximum coordinate bounds
//#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD
/**
// #define FILAMENT_RUNOUT_SENSOR
//================ =========================================================== //=============================== Bed Leveling ============================== //=========================================================================== // @section calibrate
/**
//#define AUTO_BED_LEVELING_LINEAR //#define AUTO_BED_LEVELING_BILINEAR //#define AUTO_BED_LEVELING_UBL //#define MESH_BED_LEVELING
/**
/**
// Gradually reduce leveling correction until a set height is reached,
// at which point movement will be level to the machine's XY plane.
// The height can be set with M420 Z
// For Cartesian machines, instead of dividing moves on mesh boundaries, // split up moves into short segments like a Delta. This follows the // contours of the bed more closely than edge-to-edge straight moves.
/**
// Set the number of grid points per dimension.
// Set the boundaries for probing (where the probe can reach). //#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE //#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE) //#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE //#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)
// Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST
// Beyond the probed grid, continue the implied tilt?
// Default is to maintain the height of the nearest edge.
//#define EXTRAPOLATE_BEYOND_GRID
//
// Experimental Subdivision of the grid by Catmull-Rom method.
// Synthesizes intermediate points to produce a more detailed mesh.
//
//#define ABL_BILINEAR_SUBDIVISION
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
// Number of subdivisions between probe points
#define BILINEAR_SUBDIVISIONS 3
#endif
//=========================================================================== //========================= Unified Bed Leveling ============================ //===========================================================================
//#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh
//#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used // as the Z-Height correction value.
//=========================================================================== //=================================== Mesh ================================== //===========================================================================
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
/**
//#define PROBE_PT_1_X 15 //#define PROBE_PT_1_Y 180 //#define PROBE_PT_2_X 15 //#define PROBE_PT_2_Y 20 //#define PROBE_PT_3_X 170 //#define PROBE_PT_3_Y 20
/**
// Add a menu item to move between bed corners for manual bed adjustment //#define LEVEL_BED_CORNERS
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
/**
// @section homing
// The center of the bed is at (X=0, Y=0) //#define BED_CENTER_AT_0_0
// Manually set the home position. Leave these undefined for automatic settings. // For DELTA this is the top-center of the Cartesian print volume. //#define MANUAL_X_HOME_POS 0 //#define MANUAL_Y_HOME_POS 0 //#define MANUAL_Z_HOME_POS 0
// Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area. // // With this feature enabled: // // - Allow Z homing only after X and Y homing AND stepper drivers still enabled. // - If stepper drivers time out, it will need X and Y homing again before Z homing. // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28). // - Prevent Z homing when the Z probe is outside bed area. // //#define Z_SAFE_HOMING
// Homing speeds (mm/m)
// @section calibrate
/**
// Input all length measurements here:
// Or, set the default skew factors directly here // to override the above measurements:
//#define SKEW_CORRECTION_FOR_Z
#define XZ_DIAG_AC 282.8427124746
#define XZ_DIAG_BD 282.8427124746
#define YZ_DIAG_AC 282.8427124746
#define YZ_DIAG_BD 282.8427124746
#define YZ_SIDE_AD 200
#define XZ_SKEW_FACTOR 0.0
#define YZ_SKEW_FACTOR 0.0
// Enable this option for M852 to set skew at runtime //#define SKEW_CORRECTION_GCODE
//============================================================================= //============================= Additional Features =========================== //=============================================================================
// @section extras
// // EEPROM // // The microcontroller can store settings in the EEPROM, e.g. max velocity... // M500 - stores parameters in EEPROM // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. // // fred
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
// // Host Keepalive // // When enabled Marlin will send a busy status message to the host // every couple of seconds when it can't accept commands. //
// // M100 Free Memory Watcher // //#define M100_FREE_MEMORY_WATCHER // Add M100 (Free Memory Watcher) to debug memory usage
// // G20/G21 Inch mode support // //#define INCH_MODE_SUPPORT
// // M149 Set temperature units support // //#define TEMPERATURE_UNITS_SUPPORT
// @section temperature
// Preheat Constants // fred
/**
// Specify a park position as { X, Y, Z }
/**
*/ // fred
// Default number of pattern repetitions
// Default number of triangles
// Specify positions as { X, Y, Z } // fred
// Circular pattern radius
// Circular pattern circle fragments number
// Middle point of circle
// Moves the nozzle to the initial position
/**
/**
//============================================================================= //============================= LCD and SD support ============================ //=============================================================================
// @section lcd
/**
/**
/**
*/ // fred
/**
/**
/**
// // ENCODER SETTINGS // // This option overrides the default number of encoder pulses needed to // produce one step. Should be increased for high-resolution encoders. // //#define ENCODER_PULSES_PER_STEP 4
// // Use this option to override the number of step signals required to // move between next/prev menu items. // //#define ENCODER_STEPS_PER_MENU_ITEM 1
/**
// // This option reverses the encoder direction everywhere. // // Set this option if CLOCKWISE causes values to DECREASE // //#define REVERSE_ENCODER_DIRECTION
// // This option reverses the encoder direction for navigating LCD menus. // // If CLOCKWISE normally moves DOWN this makes it go UP. // If CLOCKWISE normally moves UP this makes it go DOWN. // //#define REVERSE_MENU_DIRECTION
// // Individual Axis Homing // // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu. // // fred
// // SPEAKER/BUZZER // // If you have a speaker that can produce tones, enable it here. // By default Marlin assumes you have a buzzer with a fixed frequency. // //#define SPEAKER
//
// The duration and frequency for the UI feedback sound.
// Set these to 0 to disable audio feedback in the LCD menus.
//
// Note: Test audio output with the G-Code:
// M300 S
//============================================================================= //======================== LCD / Controller Selection ========================= //======================== (Character-based LCDs) ========================= //=============================================================================
// // RepRapDiscount Smart Controller. // http://reprap.org/wiki/RepRapDiscount_Smart_Controller // // Note: Usually sold with a white PCB. // //#define REPRAP_DISCOUNT_SMART_CONTROLLER
// // ULTIMAKER Controller. // //#define ULTIMAKERCONTROLLER
// // ULTIPANEL as seen on Thingiverse. // //#define ULTIPANEL
// // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3) // http://reprap.org/wiki/PanelOne // //#define PANEL_ONE
// // GADGETS3D G3D LCD/SD Controller // http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel // // Note: Usually sold with a blue PCB. // //#define G3D_PANEL
// // RigidBot Panel V1.0 // http://www.inventapart.com/ // //#define RIGIDBOT_PANEL
// // Makeboard 3D Printer Parts 3D Printer Mini Display 1602 Mini Controller // https://www.aliexpress.com/item/Micromake-Makeboard-3D-Printer-Parts-3D-Printer-Mini-Display-1602-Mini-Controller-Compatible-with-Ramps-1/32765887917.html // //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// // ANET and Tronxy 20x4 Controller // //#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. // This LCD is known to be susceptible to electrical interference // which scrambles the display. Pressing any button clears it up. // This is a LCD2004 display with 5 analog buttons.
// // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // //#define ULTRA_LCD
//============================================================================= //======================== LCD / Controller Selection ========================= //===================== (I2C and Shift-Register LCDs) ===================== //=============================================================================
// // CONTROLLER TYPE: I2C // // Note: These controllers require the installation of Arduino's LiquidCrystal_I2C // library. For more info: https://github.com/kiyoshigawa/LiquidCrystal_I2C //
// // Elefu RA Board Control Panel // http://www.elefu.com/index.php?route=product/product&product_id=53 // //#define RA_CONTROL_PANEL
// // Sainsmart (YwRobot) LCD Displays // // These require F.Malpartida's LiquidCrystal_I2C library // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home // //#define LCD_SAINSMART_I2C_1602 //#define LCD_SAINSMART_I2C_2004
// // Generic LCM1602 LCD adapter // //#define LCM1602
// // PANELOLU2 LCD with status LEDs, // separate encoder and click inputs. // // Note: This controller requires Arduino's LiquidTWI2 library v1.2.3 or later. // For more info: https://github.com/lincomatic/LiquidTWI2 // // Note: The PANELOLU2 encoder click input can either be directly connected to // a pin (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1). // //#define LCD_I2C_PANELOLU2
// // Panucatt VIKI LCD with status LEDs, // integrated click & L/R/U/D buttons, separate encoder inputs. // //#define LCD_I2C_VIKI
// fred
ENABLED(TINYBOY_E10) || ENABLED(TINYBOY_E16) || \
ENABLED(TINYBOY_M10) || ENABLED(TINYBOY_M16) || \
ENABLED(TINYBOY_E30) || ENABLED(TINYBOY_E40)
#define TINYOLED
#define SAV_3DGLCD
#define OLED_PANEL_TINYBOY2
// #define U8GLIB_SSD1306
// // CONTROLLER TYPE: Shift register panels //
// // 2 wire Non-latching LCD SR from https://goo.gl/aJJ4sH // LCD configuration: http://reprap.org/wiki/SAV_3D_LCD // //#define SAV_3DLCD
//============================================================================= //======================= LCD / Controller Selection ======================= //========================= (Graphical LCDs) ======================== //=============================================================================
// // CONTROLLER TYPE: Graphical 128x64 (DOGM) // // IMPORTANT: The U8glib library is required for Graphical Display! // https://github.com/olikraus/U8glib_Arduino //
// // RepRapDiscount FULL GRAPHIC Smart Controller // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller // //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
// // ReprapWorld Graphical LCD // https://reprapworld.com/?products_details&products_id/1218 // //#define REPRAPWORLD_GRAPHICAL_LCD
// // Activate one of these if you have a Panucatt Devices // Viki 2.0 or mini Viki with Graphic LCD // http://panucatt.com // //#define VIKI2 //#define miniVIKI
// // MakerLab Mini Panel with graphic // controller and SD support - http://reprap.org/wiki/Mini_panel // //#define MINIPANEL
// // MaKr3d Makr-Panel with graphic controller and SD support. // http://reprap.org/wiki/MaKr3d_MaKrPanel // //#define MAKRPANEL
// // Adafruit ST7565 Full Graphic Controller. // https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/ // //#define ELB_FULL_GRAPHIC_CONTROLLER
// // BQ LCD Smart Controller shipped by // default with the BQ Hephestos 2 and Witbox 2. // //#define BQ_LCD_SMART_CONTROLLER
// // Cartesio UI // http://mauk.cc/webshop/cartesio-shop/electronics/user-interface // //#define CARTESIO_UI
// // LCD for Melzi Card with Graphical LCD // //#define LCD_FOR_MELZI
// // SSD1306 OLED full graphics generic display // //#define U8GLIB_SSD1306
// // SAV OLEd LCD module support using either SSD1306 or SH1106 based LCD modules // //#define SAV_3DGLCD
//#define U8GLIB_SSD1306
// // Original Ulticontroller from Ultimaker 2 printer with SSD1309 I2C display and encoder // https://github.com/Ultimaker/Ultimaker2/tree/master/1249_Ulticontroller_Board_(x1) // //#define ULTI_CONTROLLER
// // TinyBoy2 128x64 OLED / Encoder Panel // //#define OLED_PANEL_TINYBOY2
// // MKS MINI12864 with graphic controller and SD support // http://reprap.org/wiki/MKS_MINI_12864 // //#define MKS_MINI_12864
// // Factory display for Creality CR-10 // https://www.aliexpress.com/item/Universal-LCD-12864-3D-Printer-Display-Screen-With-Encoder-For-CR-10-CR-7-Model/32833148327.html // // This is RAMPS-compatible using a single 10-pin connector. // (For CR-10 owners who want to replace the Melzi Creality board but retain the display) // //#define CR10_STOCKDISPLAY
// // ANET and Tronxy Graphical Controller // //#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6 // A clone of the RepRapDiscount full graphics display but with // different pins/wiring (see pins_ANET_10.h).
// // MKS OLED 1.3" 128 × 64 FULL GRAPHICS CONTROLLER // http://reprap.org/wiki/MKS_12864OLED // // Tiny, but very sharp OLED display // //#define MKS_12864OLED // Uses the SH1106 controller (default) //#define MKS_12864OLED_SSD1306 // Uses the SSD1306 controller
// // Silvergate GLCD controller // http://github.com/android444/Silvergate // //#define SILVER_GATE_GLCD_CONTROLLER
//============================================================================= //============================ Other Controllers ============================ //=============================================================================
// // CONTROLLER TYPE: Standalone / Serial //
// // LCD for Malyan M200 printers. // This requires SDSUPPORT to be enabled // //#define MALYAN_LCD
// // CONTROLLER TYPE: Keypad / Add-on //
// // RepRapWorld REPRAPWORLD_KEYPAD v1.1 // http://reprapworld.com/?products_details&products_id=202&cPath=1591_1626 // // REPRAPWORLD_KEYPAD_MOVE_STEP sets how much should the robot move when a key // is pressed, a value of 10.0 means 10mm per click. // //#define REPRAPWORLD_KEYPAD //#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
//============================================================================= //=============================== Extra Features ============================== //=============================================================================
// @section extras
// Increase the FAN PWM frequency. Removes the PWM noise but increases heating in the FET/Arduino //#define FAST_PWM_FAN
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency // which is not as annoying as with the hardware PWM. On the other hand, if this frequency // is too low, you should also increment SOFT_PWM_SCALE. //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, // affecting heaters, and the fan if FAN_SOFT_PWM is enabled. // However, control resolution will be halved for each increment; // at zero value, there are 128 effective control positions.
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can // be used to mitigate the associated resolution loss. If enabled, // some of the PWM cycles are stretched so on average the desired // duty cycle is attained. //#define SOFT_PWM_DITHER
// Temperature status LEDs that display the hotend and bed temperature. // If all hotends, bed temperature, and target temperature are under 54C // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) //#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote // Data from: http://www.doc-diy.net/photo/rc-1_hacked/ //#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure //#define SF_ARC_FIX
// Support for the BariCUDA Paste Extruder //#define BARICUDA
// Support for BlinkM/CyzRgb //#define BLINKM
// Support for PCA9632 PWM LED driver //#define PCA9632
/**
*/ //#define RGB_LED //#define RGBW_LED
// Support for Adafruit Neopixel LED driver // fred
#define NEOPIXEL_PIN 44 // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
#define NEOPIXEL_PIN 4 // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
// #define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
/**
/**
/**
// Delay (in milliseconds) before the next move will start, to give the servo time to reach its target angle. // 300ms is a good value but you can try less delay. // If the servo can't reach the requested position, increase it.
// Only power servos during movement, otherwise leave off to prevent jitter //#define DEACTIVATE_SERVOS_AFTER_MOVE
/**
*/
/**
*/
// @section temperature
//=========================================================================== //=============================Thermal Settings ============================ //===========================================================================
// // Hephestos 2 24V heated bed upgrade kit. // https://store.bq.com/en/heated-bed-kit-hephestos2 // //#define HEPHESTOS2_HEATED_BED_KIT
#define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
/**
THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD */
/**
/**
Thermal Protection parameters for the bed are just as above for hotends. */
/**
// this adds an experimental additional term to the heating power, proportional to the extrusion speed. // if Kc is chosen well, the additional required power due to increased melting should be compensated. //#define PID_EXTRUSION_SCALING
#define DEFAULT_Kc (100) //heating power=Kc*(e_speed)
#define LPQ_MAX_LEN 50
/**
// Show extra position information in M114 //#define M114_DETAIL
// Show Temperature ADC value // Enable for M105 to include ADC values read from temperature sensors. //#define SHOW_TEMP_ADC_VALUES
/**
// The number of consecutive low temperature errors that can occur // before a min_temp_error is triggered. (Shouldn't be more than 10.) //#define MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED 0
// The number of milliseconds a hotend will preheat before starting to check // the temperature. This value should NOT be set to the time it takes the // hot end to reach the target temperature, but the time it takes to reach // the minimum temperature your thermistor can read. The lower the better/safer. // This shouldn't need to be more than 30 seconds (30000) //#define MILLISECONDS_PREHEAT_TIME 0
// @section extruder
// Extruder runout prevention. // If the machine is idle and the temperature over MINTEMP // then extrude some filament every couple of SECONDS. //#define EXTRUDER_RUNOUT_PREVENT
// @section temperature
// Calibration for AD595 / AD8495 sensor to adjust temperature measurements. // The final temperature is calculated as (measuredTemp * GAIN) + OFFSET.
/**
//#define CONTROLLER_FAN_PIN -1 // Set a custom pin for the controller fan
// When first starting the main fan, run it at full speed for the // given number of milliseconds. This gets the fan spinning reliably // before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu) //#define FAN_KICKSTART_TIME 100
/**
// @section extruder
/**
/**
/**
//#define CASE_LIGHT_PIN 4 // Override the default pin if needed
//#define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu //#define CASE_LIGHT_USE_NEOPIXEL // Use Neopixel LED as case light, requires NEOPIXEL_LED.
//=========================================================================== //============================ Mechanical Settings ========================== //===========================================================================
// @section homing
// If you want endstops to stay on (by default) even when not homing // enable this option. Override at any time with M120, M121. //#define ENDSTOPS_ALWAYS_ON_DEFAULT
// @section extras
//#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.
/**
//#define X_DUAL_STEPPER_DRIVERS
//#define X_DUAL_ENDSTOPS
#define X2_USE_ENDSTOP _XMAX_
#define X_DUAL_ENDSTOPS_ADJUSTMENT 0
//#define Y_DUAL_STEPPER_DRIVERS
//#define Y_DUAL_ENDSTOPS
#define Y2_USE_ENDSTOP _YMAX_
#define Y_DUAL_ENDSTOPS_ADJUSTMENT 0
//#define Z_DUAL_STEPPER_DRIVERS
//#define Z_DUAL_ENDSTOPS
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
/**
By default the X2 stepper is assigned to the first unused E plug on the board. */ //#define DUAL_X_CARRIAGE
// However: In this mode the HOTEND_OFFSET_X value for the second extruder provides a software // override for X2_HOME_POS. This also allow recalibration of the distance between the two endstops // without modifying the firmware (through the "M218 T1 X???" command). // Remember: you should set the second extruder x-offset to 0 in your slicer.
// There are a few selectable movement modes for dual x-carriages using M605 S
// This is the default power-up mode which can be later using M605.
// Default settings in "Auto-park Mode"
// Default x offset in duplication mode (typically set to half print bed width)
// Activate a solenoid on the active extruder with M380. Disable all with M381. // Define SOL0_PIN, SOL1_PIN, etc., for each extruder that has a solenoid. //#define EXT_SOLENOID
// @section homing
// Homing hits each endstop, retracts by these distances, then does a slower bump.
//#define QUICK_HOME // If homing includes X and Y, do a diagonal move initially
// When G28 is called, this option will make Y home before X //#define HOME_Y_BEFORE_X
// Enable this if X or Y can't home without homing the other axis first. //#define CODEPENDENT_XY_HOMING
// @section machine
// Allow duplication mode with a basic dual-nozzle extruder //#define DUAL_NOZZLE_DUPLICATION_MODE
// By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
// Default stepper release if idle. Set to 0 to deactivate. // Steppers will shut down DEFAULT_STEPPER_DEACTIVE_TIME seconds after the last move when DISABLEINACTIVE? is true. // Time can be set by M18 and M84.
//#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated
// @section lcd
// @section extras
// minimum time in microseconds that a movement needs to take if the buffer is emptied.
// If defined the movements slow down when the look ahead buffer is only half full
// Frequency limit // See nophead's blog for more info // Not working O //#define XY_FREQUENCY_LIMIT 15
// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end // of the buffer and all stops. This should not be much greater than zero and should only be changed // if unwanted behavior is observed on a user's machine when running at very slow speeds.
// // Use Junction Deviation instead of traditional Jerk Limiting // //#define JUNCTION_DEVIATION
/**
// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.
/**
// Use an I2C based DIGIPOT (e.g., Azteeg X3 Pro) //#define DIGIPOT_I2C
/**
//#define DIGIPOT_MCP4018 // Requires library from https://github.com/stawel/SlowSoftI2CMaster
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS. // These correspond to the physical drivers, so be mindful if the order is changed.
//=========================================================================== //=============================Additional Features=========================== //===========================================================================
//#define CHDK 4 //Pin for triggering CHDK to take a picture see how to use it here http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
// @section lcd
// Include a page of printer information in the LCD Main Menu // fred
// Scroll a longer status message into view // fred
// On the Info Screen, display XY with one decimal place when possible //#define LCD_DECIMAL_SMALL_XY
// The timeout (in ms) to return to the status screen from sub-menus //#define LCD_TIMEOUT_TO_STATUS 15000
// Add an 'M73' G-code to set the current percentage //#define LCD_SET_PROGRESS_MANUALLY
//#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing
#define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show the bar
#define PROGRESS_BAR_MSG_TIME 3000 // (ms) Amount of time to show the status message
#define PROGRESS_MSG_EXPIRE 0 // (ms) Amount of time to retain the status message (0=forever)
//#define PROGRESS_MSG_ONCE // Show the message for MSG_TIME then clear it
//#define LCD_PROGRESS_BAR_TEST // Add a menu item to test the progress bar
/**
//#define LED_USER_PRESET_STARTUP // Have the printer display the user preset color on startup
// Some RAMPS and other boards don't detect when an SD card is inserted. You can work // around this by connecting a push button or single throw switch to the pin defined // as SD_DETECT_PIN in your board's pins definitions. // This setting should be disabled unless you are using a push button, pulling the pin to ground. // Note: This is always disabled for ULTIPANEL (except ELB_FULL_GRAPHIC_CONTROLLER).
// Reverse SD sort to show "more recent" files first, according to the card's FAT. // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
// Add an option in the menu to run all auto#.g files //#define MENU_ADDAUTOSTART
/**
point in the file. */ //#define POWER_LOSS_RECOVERY
//#define POWER_LOSS_PIN 44 // Pin to detect power loss //#define POWER_LOSS_STATE HIGH // State of pin indicating power loss
/**
// SD Card Sorting options
// Note: Only affects SCROLL_LONG_FILENAMES with SDSORT_CACHE_NAMES but not SDSORT_DYNAMIC_RAM.
// This allows hosts to request long names for files and folders with M33 //#define LONG_FILENAME_HOST_SUPPORT
// Enable this option to scroll long filenames in the SD card menu //#define SCROLL_LONG_FILENAMES
/**
To have any effect, endstops must be enabled during SD printing. */ //#define ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
/**
You can just click to start the print, or navigate elsewhere. */ //#define SD_REPRINT_LAST_SELECTED_FILE
/**
/**
printing performance versus fast display updates. */
// Show SD percentage next to the progress bar
// Enable to save many cycles by drawing a hollow frame on the Info Screen // fred //#define XYZ_HOLLOW_FRAME
// Enable to save many cycles by drawing a hollow frame on Menu Screens // fred // #define MENU_HOLLOW_FRAME
// A bigger font is available for edit items. Costs 3120 bytes of PROGMEM. // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese. // fred
// A smaller font may be used on the Info Screen. Costs 2300 bytes of PROGMEM. // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese. // #define USE_SMALL_INFOFONT
// Enable this option and reduce the value to optimize screen updates. // The normal delay is 10µs. Use the lowest value that still gives a reliable display. //#define DOGM_SPI_DELAY_US 5
// Swap the CW/CCW indicators in the graphics overlay //#define OVERLAY_GFX_REVERSE
/**
// @section safety
// The hardware watchdog should reset the microcontroller disabling all outputs, // in case the firmware gets stuck and doesn't do temperature regulation.
// If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on. // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset. // However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled. //#define WATCHDOG_RESET_MANUAL
// @section lcd
/**
//#define BABYSTEP_XY // Also enable X/Y Babystepping. Not supported on DELTA!
//#define BABYSTEP_ZPROBE_OFFSET // Enable to combine M851 and Babystepping //#define DOUBLECLICK_FOR_Z_BABYSTEPPING // Double-click on the Status Screen for Z Babystepping.
// Note: Extra time may be added to mitigate controller latency.
//#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
// @section extruder
/**
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
// @section leveling
// Override the mesh area if the automatic (max) area is too large //#define MESH_MIN_X MESH_INSET //#define MESH_MIN_Y MESH_INSET //#define MESH_MAX_X X_BED_SIZE - (MESH_INSET) //#define MESH_MAX_Y Y_BED_SIZE - (MESH_INSET)
// @section extras
// // G2/G3 Arc Support //
//#define ARC_P_CIRCLES // Enable the 'P' parameter to specify complete circles //#define CNC_WORKSPACE_PLANES // Allow G2/G3 to operate in XY, ZX, or YZ planes
// Support for G5 with XYZE destination and IJPQ offsets. Requires ~2666 bytes. //#define BEZIER_CURVE_SUPPORT
// G38.2 and G38.3 Probe Target // Set MULTIPLE_PROBING if you want G38 to double touch //#define G38_PROBE_TARGET
// Moves (or segments) with fewer steps than this will be joined with the next move
/**
/**
/**
// @section temperature
// Control heater 0 and heater 1 in parallel. //#define HEATERS_PARALLEL
//=========================================================================== //================================= Buffers ================================= //===========================================================================
// @section hidden
// The number of linear motions that can be in the plan at any give time. // THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2 (e.g. 8, 16, 32) because shifts and ors are used to do the ring-buffering.
// @section serial
// The ASCII buffer for serial input
// Transmission to Host Buffer Size // To save 386 bytes of PROGMEM (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. // To buffer a simple "ok" you need 4 bytes. // For ADVANCED_OK (M105) you need 32 bytes. // For debug-echo: 128 bytes for the optimal speed. // Other output doesn't need to be that speedy. // :[0, 2, 4, 8, 16, 32, 64, 128, 256]
// Host Receive Buffer Size // Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. // To use flow control, set this buffer size to at least 1024 bytes. // :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] //#define RX_BUFFER_SIZE 1024
// Enable to have the controller send XON/XOFF control characters to // the host to signal the RX buffer is becoming full. //#define SERIAL_XON_XOFF
// Enable this option to collect and display the maximum // RX queue usage after transferring a file to SD. //#define SERIAL_STATS_MAX_RX_QUEUED
// Enable this option to collect and display the number // of dropped bytes after a file transfer to SD. //#define SERIAL_STATS_DROPPED_RX
// Enable an emergency-command parser to intercept certain commands as they // enter the serial receive buffer, so they cannot be blocked. // Currently handles M108, M112, M410 // Does not work on boards using AT90USB (USBCON) processors! //#define EMERGENCY_PARSER
// Bad Serial-connections can miss a received command by sending an 'ok' // Therefore some clients abort after 30 seconds in a timeout. // Some other clients start sending commands while receiving a 'wait'. // This "wait" is only sent when the buffer is empty. 1 second is a good value here. //#define NO_TIMEOUTS 1000 // Milliseconds
// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary. //#define ADVANCED_OK
// @section extras
/**
*/ //#define FWRETRACT // ONLY PARTIALLY TESTED
/**
/**
This feature is required for the default FILAMENT_RUNOUT_SCRIPT. */ // fred
// This short retract is done immediately, before parking the nozzle.
// For Bowden, the full length of the tube and nozzle.
// For direct drive, the full length of the nozzle.
// Set to 0 for manual unloading.
// 0 to disable start loading and skip to fast load only
// For Bowden, the full length of the tube and nozzle.
// For direct drive, the full length of the nozzle.
//#define ADVANCED_PAUSE_CONTINUOUS_PURGE // Purge continuously up to the purge length until interrupted.
// Set to 0 for manual extrusion.
// Filament can be extruded repeatedly from the Filament Change menu
// until extrusion is consistent, and to purge old filament.
// Filament Unload does a Retract, Delay, and Purge first:
//#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change. //#define HOME_BEFORE_FILAMENT_CHANGE // Ensure homing has been completed prior to parking for filament change
//#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu. //#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
// @section tmc
/**
https://github.com/trinamic/TMC26XStepper */
// @section tmc_smart
/**
pins_MYBOARD.h
file. (e.g., RAMPS 1.4 uses AUX3 pins X_CS_PIN 53
, Y_CS_PIN 49
, etc.).(https://github.com/teemuatlut/TMC2208Stepper). */
/**
/**
/**
/**
/**
/**
/**
/**
// @section L6470
/**
https://github.com/ameyer/Arduino-L6470 */
/**
// @section i2cbus
//#define EXPERIMENTAL_I2CBUS
// @section extras
/**
See http://marlinfw.org/docs/configuration/laser_spindle.html for more config details. */ //#define SPINDLE_LASER_ENABLE
/**
//#define SPEED_POWER_SLOPE 0.3922 //#define SPEED_POWER_INTERCEPT 0 //#define SPEED_POWER_MIN 10 //#define SPEED_POWER_MAX 100 // 0-100%
/**
// Display filament width on the LCD status line. Status messages will expire after 5 seconds. //#define FILAMENT_LCD_DISPLAY
/**
/**
/**
/**
/**
/**
/**
/**
G29 O
Mesh Output./**
/**
User-defined menu items that execute custom GCode */ //#define CUSTOM_USER_MENUS
//#define USER_SCRIPT_RETURN // Return to status screen after a script
/**
/**
//=========================================================================== //====================== I2C Position Encoder Settings ====================== //===========================================================================
/**
//#define I2C_POSITION_ENCODERS
// encoders supported currently.
// I2CPE_ENC_TYPE_ROTARY.
// 1mm poles. For linear encoders this is ticks / mm,
// for rotary encoders this is ticks / revolution.
//#define I2CPE_ENC_1_TICKS_REV (16 200) // Only needed for rotary encoders; number of stepper // steps per full revolution (motor steps/rev microstepping) //#define I2CPE_ENC_1_INVERT // Invert the direction of axis travel.
// printer will attempt to correct the error; errors
// smaller than this are ignored to minimize effects of
// measurement noise / latency (filter).
//#define I2CPE_ENC_2_TICKS_REV (16 * 200) //#define I2CPE_ENC_2_INVERT
// Default settings for encoders which are enabled, but without settings configured above.
//#define I2CPE_ERR_THRESH_ABORT 100.0 // Threshold size for error (in mm) error on any given // axis after which the printer will abort. Comment out to // disable abort behaviour.
// for this amount of time (in ms) before the encoder
// is trusted again.
/**
error rolling average when attempting to correct only for skips and not for vibration. */
// Use a rolling average to identify persistant errors that indicate skips, as opposed to vibration and noise.
/**
Requires 3 signal wires. Some useful debug options are included to demonstrate its usage. */ //#define MAX7219_DEBUG
//#define MAX7219_GCODE // Add the M7219 G-code to control the LED matrix
// connector at: right=0 bottom=-90 top=90 left=180
/**
// If you experience stuttering, reboots, etc. this option can reveal how
// tweaks made to the configuration are affecting the printer in real-time.
/**
//#define NANODLP_ALL_AXIS // Enables "Z_move_comp" output on any axis move. // Default behaviour is limited to Z axis only.
// Enable Marlin dev mode which adds some special commands //#define MARLIN_DEV_MODE
try to trim down the problem and find that .... got the same problem even if only change this three lines ...
due to sd card is not init even is inserted before powerup ... and add card.initsd(); to loop() wrongly ...
problem is gone move card.initsd(); to setup();
BTW there is not need to add card.initsd() from 1.1.8
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Regards