Problem with output file from Repetier-Firmware configuration tool for version 1.0.4

I get the following error when i compile the repetier.ino to upload to my board.       Eeprom.cpp:1:1: error: stray '\357' in program
 /*
 ^
Eeprom.cpp:1:2: error: stray '\273' in program
 /*
  ^
Eeprom.cpp:1:3: error: stray '\277' in program
 /*
   ^
exit status 1 stray '\357' in program

I have done everything I can find on the internet of how to fix it and nothing works. 

I have changed the lcd on my printer because it died and need to change it in the .ino file.

I am going crazy trying to get this sorted. 
Can anyone HELP PLEASE.

Thanks Mark

Comments

  • here is my file that will not verify compile   I have run out of
    Jack Daniels PLEASE HELP

    error received

    Eeprom.cpp:1:1: error: stray '\357' in program
     /*
     ^
    Eeprom.cpp:1:2: error: stray '\273' in program
     /*
      ^
    Eeprom.cpp:1:3: error: stray '\277' in program
     /*
       ^
    exit status 1
    stray '\357' in program



    Thanks in advance
    Mark 


    /*
        This file is part of Repetier-Firmware.

        Repetier-Firmware is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.

        Repetier-Firmware is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with Repetier-Firmware.  If not, see <http://www.gnu.org/licenses/>.

        This firmware is a nearly complete rewrite of the sprinter firmware
        which based on Tonokip RepRap firmware rewrite based off of Hydra-mmm
       firmware.

        Main author: repetier

    */
    /**
    \mainpage Repetier-Firmware for Arduino based RepRaps
    <CENTER>Copyright &copy; 2011-2013 by repetier
    </CENTER>

    \section Intro Introduction


    \section GCodes Implemented GCodes

     look here for descriptions of gcodes:

    Implemented Codes

    - G0  -> G1
    - G1  - Coordinated Movement X Y Z E, S1 disables boundary check, S0 enables it
    - G2 - Clockwise arc  X,Y,E = end position, R = Radius or I,J = center
    - G3 - Counterclockwise arc   X,Y,E = end position, R = Radius or I,J = center
    - G4  - Dwell S<seconds> or P<milliseconds>
    - G10 S<1 = long retract, 0 = short retract = default> retracts filament
    according to stored setting
    - G11 S<1 = long retract, 0 = short retract = default> = Undo retraction
    according to stored setting
    - G20 - Units for G0/G1 are inches.
    - G21 - Units for G0/G1 are mm.
    - G28 - Home all axis or named axis.
    - G29 S<0..2> - Z-Probe at the 3 defined probe points. S = 1 measure avg.
    zHeight, S = 2 store avg zHeight
    - G30 P<0..3> - Single z-probe at current position P = 1 first measurement, P =
    2 Last measurement P = 0 or 3 first and last measurement
    - G30 H<height> R<offset> Make probe define new Z and z offset (R) at trigger
    point assuming z-probe measured an object of H height.
    - G31 - Write signal of probe sensor
    - G32 S<0..2> P<0..1> - Autolevel print bed. S = 1 measure zLength, S = 2
    Measure and store new zLength
    - G33 - Measure distortion map
    - G33 R0 - delete distortion map
    - G33 L0 - List distortion map
    - G33 X<xpos> Y<ypos> Z<newdistortioncorrection> - Set new distortion for
    nearest distortion point.
    - G90 - Use absolute coordinates
    - G91 - Use relative coordinates
    - G92 - Set current position to coordinates given
    - G131 - set extruder offset position to 0 - needed for calibration with G132
    - G132 - calibrate endstop positions. Call this, after calling G131 and after
    centering the extruder holder.
    - G133 - measure steps until max endstops for deltas. Can be used to detect lost
    steps within tolerances of endstops.
    - G134 Px Sx Zx - Calibrate nozzle height difference (need z probe in nozzle!)
    Px = reference extruder, Sx = only measure extrude x against reference, Zx = add
    to measured z distance for Sx for correction.
    - G201 P<motorId> X<pos>     - Go to position X with motor X
    - G202 P<motorId> X<setpos>  - Mark current position as X
    - G203 P<motorId>            - Report current motor position
    - G204 P<motorId> S<0/1>     - Enable/disable motor
    - G205 P<motorId> S<0/1> E<0/1> - Home motor, S1 = go back to stored position,
    E1 = home only if endstop was never met, meaning it was never homed with motor.

    RepRap M Codes

    - M104 - Set extruder target temp
    - M105 - Read current temp
    - M106 S<speed> P<fan> I<ignore> - Fan on speed = 0..255, P = 0 or 1, 0 is
    default and can be omitted, I1 = Ignore M106/M107 from now on, I0 = disable
    ignore
    - M107 P<fan> - Fan off, P = 0 or 1, 0 is default and can be omitted
    - M109 - Wait for extruder current temp to reach target temp. Same params as
    M104
    - M114 S1 - Display current position, S1 = also write position in steps

    Custom M Codes

    - M3 Sx - Spindle on, Clockwise or Laser on during G1 moves. Sx = laser
    intensity 0-255 if driver supports this (default ignores it)
    - M4 - Spindle on, Counterclockwise.
    - M5 - Spindle off, Laser off.
    - M17 - Enable all motors or only named motors
    - M18 - Disable all motors or named motors
    - M20  - List SD card
    - M21  - Initialize SD card
    - M22  - Release SD card
    - M23  - Select SD file (M23 filename.g)
    - M24  - Start/resume SD print
    - M25  - Pause SD print
    - M26  - Set SD position in bytes (M26 S12345)
    - M27  - Report SD print status
    - M28  - Start SD write (M28 filename.g)
    - M29  - Stop SD write
    - M30 <filename> - Delete file on sd card
    - M32 <dirname> create subdirectory
    - M42 P<pin number> S<value 0..255> - Change output of pin P to S. Does not work
    on most important pins.
    - M80  - Turn on power supply
    - M81  - Turn off power supply
    - M82  - Set E codes absolute (default)
    - M83  - Set E codes relative while in Absolute Coordinates (G90) mode
    - M84  - Disable steppers until next move,
            or use S<seconds> to specify an inactivity timeout, after which the
    steppers will be disabled.  S0 to disable the timeout.
    - M85  - Set inactivity shutdown timer with parameter S<seconds>. To disable set
    zero (default)
    - M92  - Set axisStepsPerMM - same syntax as G92
    - M99 S<delayInSec> X0 Y0 Z0 - Disable motors for S seconds (default 10) for
    given axis.
    - M104 S<temp> T<extruder> P1 F1 H1 O<offset>- Set temperature without wait. P1
    = wait for moves to finish, F1 = beep when temp. reached first time O add offset
    to temperature in S, H1 use preheat temperature instead of S value.
    - M105 X0 - Get temperatures. If X0 is added, the raw analog values are also
    written.
    - M111 S<debugflags> - Set debugging option. Add values for wanted options:
                1 = echo commands, 2 = info, 4 = errors, 8 = dry run mode, 16 = only
    communication, no actions
    - M112 - Emergency kill
    - M115- Capabilities string
    - M116 - Wait for all temperatures in a +/- 1 degree range
    - M117 <message> - Write message in status row on lcd
    - M118 <message> - Write message to host
    - M119 - Report endstop status
    - M122 - Output TMC2130 diagnostic readings
    - M140 S<temp> H1 O<offset> F1 - Set bed target temp, F1 makes a beep when
    temperature is reached the first time
    - M155 S<1/0> Enable/disable auto report temperatures. When enabled firmware
    will emit temperatures every second.
    - M163 S<extruderNum> P<weight>  - Set weight for this mixing extruder drive
    - M164 S<virtNum> P<0 = dont store eeprom,1 = store to eeprom> - Store weights
    as virtual extruder S
    - M170 B<bedtemp> T<extruderid> S<extrudertemp> L0 - Set preset temperatures for
    extruder (T+S) or bed (B) or list settings (L0)
    - M190 - Wait for bed current temp to reach target temp. Same params as M109
    - M200 T<extruder> D<diameter> - Use volumetric extrusion. Set D0 or omit D to
    disable volumetric extr. Omit T for current extruder.
    - M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
    - M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000)
    - M203 - Set temperature monitor to Sx
    - M204 - Set PID parameter X => Kp Y => Ki Z => Kd S<extruder> Default is
    current extruder. NUM_EXTRUDER=Heated bed
    - M205 - Output EEPROM settings
    - M206 - Set EEPROM value
    - M207 X<XY jerk> Z<Z Jerk> E<ExtruderJerk> - Changes current jerk values, but
    do not store them in eeprom.
    - M209 S<0/1> - Enable/disable auto retraction
    - M218 T<extruderId> X<offset> Y<offset> Z<offset> S<0/1> - Set extruder offset.
    S1 = Save to eeprom.
    - M220 S<Feedrate multiplier in percent> - Increase/decrease given feedrate
    - M221 S<Extrusion flow multiplier in percent> - Increase/decrease given flow
    rate
    - M226 P<pin> S<state 0/1> - Wait for pin getting state S. Add X0 to init as
    input without pull-up and X1 for input with pull-up.
    - M231 S<OPS_MODE> X<Min_Distance> Y<Retract> Z<Backlash> F<ReatrctMove> - Set
    OPS parameter
    - M232 - Read and reset max. advance values
    - M233 X<AdvanceK> Y<AdvanceL> - Set temporary advance K-value to X and linear
    term advanceL to Y
    - M251 Measure Z steps from homing stop (Delta printers). S0 - Reset, S1 -
    Print, S2 - Store to Z length (also EEPROM if enabled)
    - M280 S<mode> - Set ditto printing mode. mode: 0 = off, 1 = 1 extra extruder, 2
    = 2 extra extruder, 3 = 3 extra extruders
    - M281 Test if watchdog is running and working. Use M281 X0 to disable watchdog
    on AVR boards. Sometimes needed for boards with old bootloaders to allow
    reflashing.
    - M290 Z<babysteps> - Correct by adding baby steps for Z mm
    - M300 S<Frequency> P<DurationMillis> play frequency
    - M302 S<0 or 1> - allow cold extrusion. Without S parameter it will allow. S1
    will allow, S0 will disallow.
    - M303 P<extruder/bed> S<printTemerature> X0 R<Repetitions> C<method>- Auto
    detect pid values. Use P<NUM_EXTRUDER> for heated bed. X0 saves result in
    EEPROM. R is number of cycles. method 0 = classic, 1 = some overshoot, 2 = no
    overshoot, 3 = pessen, 4 = Tyreus-Lyben
    - M320 S<0/1> - Activate auto level, S1 stores it in eeprom
    - M321 S<0/1> - Deactivate auto level, S1 stores it in eeprom
    - M322 - Reset auto level matrix
    - M323 S0/S1 enable disable distortion correction P0 = not permanent, P1 =
    permanent = default
    - M340 P<servoId> S<pulseInUS> R<autoOffIn ms>: servoID = 0..3, Servos are
    controlled by a pulse with normally between 500 and 2500 with 1500ms in center
    position. 0 turns servo off. R allows automatic disabling after a while.
    - M350 S<mstepsAll> X<mstepsX> Y<mstepsY> Z<mstepsZ> E<mstepsE0> P<mstespE1> :
    Set micro stepping on RAMBO board
    - M355 S<0/1> - Turn case light on/off, no S = report status
    - M360 - show configuration
    - M400 - Wait until move buffers empty.
    - M401 - Store x, y and z position.
    - M402 - Go to stored position. If X, Y or Z is specified, only these
    coordinates are used. F changes feedrate for that move.
    - M408 S<0-5> - Return status as json string (requires matching feature) for
    PanelDue
    - M415 S<0/1> Z<zpos> - Enables (S1) or disables (S0) rescue system. Zx can
    define current Z as homed Z position.
    - M416 - Simulate a power loss
    - M450 - Reports printer mode
    - M451 - Set printer mode to FFF
    - M452 - Set printer mode to laser
    - M453 - Set printer mode to CNC
    - M460 X<minTemp> Y<maxTemp> : Set temperature range for thermistor controlled
    fan
    - M500 Store settings to EEPROM
    - M501 Load settings from EEPROM
    - M502 Reset settings to the one in configuration.h. Does not store values in
    EEPROM!
    - M513 - Clear all jam marker.
    - M530 S<printing> L<layer> - Enables explicit printing mode (S1) or disables it
    (S0). L can set layer count
    - M531 filename - Define filename being printed
    - M532 X<percent> L<curLayer> - update current print state progress (X=0..100)
    and layer L
    - M600 Change filament
    - M601 S<1/0> B<1/0> P<1/0> - Pause extruders. B1 also pauses heated bed. Paused
    extrudes disable heaters and motor. Continue (S0) reheats extruder to old temp.
    P0 does not wait for target temperature.
    - M602 S<1/0> P<1/0>- Debug jam control (S) Disable jam control (P). If enabled
    it will log signal changes and will not trigger jam errors!
    - M603 - Simulate a jam
    - M604 X<slowdownSteps> Y<errorSteps> Z<slowdownTo> T<extruderId> - Set jam
    detection values on a per extruder basis. If not set it uses defaults from
    Configuration.h
    - M606 X<distance> F<speed> - In DUAL_X_AXIS_MODE = 1 moves the current extruder
    to the specified distance relative to the carriage's home position. Default X is
    0 (home position).
    - M666 - force communication error, required DEBUG_COM_ERRORS
    - M668 - set line number 0 without notice to simulate error
    - M670 S<version> - Set eeprom version to a value for testing eeprom upgrade
    path.
    - M908 P<address> S<value> : Set stepper current for digipot (RAMBO board)
    - M999 - Continue from fatal error. M999 S1 will create a fatal error for
    testing.
    - M914 X<sg_value> Y<sg_value> Z<sg_value> E<sg_value> A<sg_value> B<sg_value>
    Stall detection sensitivity for Trinamic stepper drivers. E = Ext0, A = Ext1, B
    = Ext2
    - M915 X<0/1> Y<0/1> Z<0/1> E<0/1> A<0/1> B<0/1> Turn StealthChop mode ON or OFF
    on Trinamic stepper drivers. E = Ext0, A = Ext1, B = Ext2
    */

    #include "Repetier.h"
    #include <SPI.h>

    #if UI_DISPLAY_TYPE == DISPLAY_ARDUINO_LIB
    //#include <LiquidCrystal.h> // Uncomment this if you are using liquid crystal
    //library

    void setup() { Printer::setup(); }

    void loop() { Commands::commandLoop(); }
  • Please delete the comment at the file start in Eeprom.cpp - it contains a character that your compiler does not like.
  • Where did you get the files from? Github or config tool?
  • I downloaded the file directly from the last part of the config tool      it comes as a .zip I extract it with WinRar and open it with IDE.
    when i verify compile it fails. it is always the same with EVERY file I download.  I know it is something I am doing but I can not figure it out.    How can i do it different.

    Mark
  • Repetier said:
    Please delete the comment at the file start in Eeprom.cpp - it contains a character that your compiler does not like.
    OK so I am not really up on codeing but I am trying hard.

    So in Notepad++ I open the Eeprom.CPP  and  remove the comment / or the /* at the very top of the file? Then save and reopen the Repetier.ino in IDE

  • I guess I need a more detailed help SORRY
    I have tried several different removals from the begining of the /*   */    *     /
    individually one at a time from the beginning of the Eeprom.cpp file.

    the errors change but will not compile

    I am suppressed I am thei only one having this problem. I have some old .ino files that will all compile but if i upload them to the config tool and download they all have the errors and will not compile.

    mark
  • well i started over with an old file and it was fine       then i noticed it had reverted to the previous version of configurator and the display did not work at all. but it did compile and load. 
    so i added 1 at a time to the old file in the old config tool and it all loaded fine but the lcd did not work correctly.      so thinking it was the config tool not allowing the lcd to work i then took the confugured file to the 1.04 but the same problem came back will not compile. I then went to the newest config tool and statred with the .92 file and it loaded fine in the tool adjusted the things that were not there for some reason downloaded the full file and opened it in IDE and it compiled just fine. I installed it to the printer and   No LCD and all the steppers were making strange noise. I hit the reset and same thing.
    I am done...................
    Mark
  • Comment is from /* until */ in this case. 
    I have updated the files to config tool hoping that the char is now gone as I deleted that part and inserted it new again. So if you redownload zip it should also be fixed now.

    Stepper noise is when you loose steps. Normally happens when you increase speed too fast or have not enough torque or axis is blocked. Check especially steps per mm as it can be off quite a bit depending on microstep setting.

    LCD is sometimes hard especially if the board/display combination is not officially supported, but without knowing them I can not much.
  • Thanks 
    I uploaded my file to config tool 1.04
    I downloaded the full file     
    opened Repetier.ino and checked verify compile
    failed

    opened the Eeprom.cpp and it had the comment still there so i deleted it as  you described and saved it and opened it again to check it and it saved correctly
    then i reopened the repetier.ino and checked compole 
    it failed with the following


    Eeprom.cpp:1:1: error: stray '\357' in program
     
     ^
    Eeprom.cpp:1:2: error: stray '\273' in program
     
      ^
    Eeprom.cpp:1:3: error: stray '\277' in program
     
       ^
    exit status 1
    stray '\357' in program

    efectively the same as before


    I just do not understand why it does this
    is there a way for me to send the downloaded complete file from the config tool so you can see what i am working with

    thanks Mark
  • OK I have beeen on a CRASH COURSE of learning where everything is.       I think I have an idea how to sort out my problems with the LCD. I have a working 1.04 I think but it does not haave the correct LCD controller. I seem to undderstand that I can change single lines of code from the IDE. I think
    How to I do a set_controller_11  from the IDE?    I can not find that but I think it is possible.
    Still have not sorted the stray in probram thing

    Mark

  • That variable is FEATURE_CONTROLLER in configuration.h but that is also selecteable in config tool as rep rap discount graphical display or similar.

    The stray error messages come from wrong font encoding. I also found why I did not solve it - you are using the older 1.0.4 version and and current dev version 1.0.5, right? Now also updated 1.0.4.
  • OK that makes since why when i used 1.05 it worked but still had some kind of problem. I will try both tomorrow. I got it somewhat working with the even older one. it just does not have some of the things the newer ones have.  

    as for the Feature line      is there a way to insert the feature as a single insert with IDE.   Basically from the IDE type the command and change the type of display from say 4 to 11. I saw something when I was looking for a fix. I got the basic 1.04 workint from an okd file i had but it had the wrong display and when i changed it in config tool it corrupted that.

    anyway thanks for the help I will try them both tomorrow. I have never been interested in learning to code but this has me pumped now and I am working hard to learn it.
    Mark
  • 4 and 11 are both reprap displays. But one is 20x4 chars (4) and the other is 128x64 pixel(11). Just search in configuration.h for the #define FEATURE_CONTROLLER line and replace 4 with 11 when you want to change in ide.
  • OK I will try that
    I did get the 1.05 to load after your changes   THANKS
    Making headway and hope to be up and running today
    I will report probress
    Mark
  • ok I got the `upload to work and started seting up the printer travel and other things that I have setup before and all was well until I started adjusting the steps per MM. I make a change upload it with no problems but there is still the origonal 75mm comming out when i dial 100MM of movement in from the display rotary encoder. 
    So now i think maybe the display is not actually moving the extruder correctly and think I will install the server and host as I hav used prior. I realize I still have the steps per MM to deal with but now I discover the next real problem and it is not with my inability to code but with my disability.

    THERE IS NO LOW VISION SETTINGS FOR THE SERVER AND HOST. THERE IS NOT EVEN A WAY TO CHANGE THE PALE BLUE FONT SIZE OR ITS COLOR TO HELP WITH THE PROBLEM WE VISION IMPAIRED USERS ARE FACED WITH. 

    NOT COOL

    I can see the need to invest agate other firmware after a week of dealing with the first issue.

    NOT COOL
  • > THERE IS NOT EVEN A WAY TO CHANGE THE PALE BLUE FONT SIZE OR ITS COLOR 
    Where do we use pale blue in server? Serve rhas light and dark mode. In light mode the only blue I know is dark blue that is nearly black.

    Or are you talking about the printer LCD display you needed FEATURE_CONTROLLER for? 90% of these are blue/white but they are monochrome and it is not possible to change the color of these displays. Content comes from firmware.
  • Well I guess I will say the blue is what windows shows on almost everything on the internet, it started being used about the time windows 10 cam out. for normal sighted people it is easier on the eye. I understand that. The not normal sighted ones of us have a problem with the soft tones. I do apologize for the SCREEMING egffect of the all caps. I have been fighting my vision for almost 19 years and this issue with the printer for about 3 weeks. I just got upset because it was another obsticle to get this printer back up and running. all caused because my LCD went bad. 

    Now for the light and dark theam thing, I can not find any way to get the dark theam in Host or Server. The other and more issue is the font size. It is way too small for any type of vision problem. I could live with the soft color but the font is the real problem. I would appreciate any help on that for now and PLEASE think about the visually impared  when you do the next issue of Repetier control pages. When a visually impaired person looks at the internet it is easy to enlarge the page to sort that out. However In almost all programs there is not an easy way to enlarge because of all thesections in the app that need to overlap as they are enlarged. It just does not work well. In my Humble opinion it is far easier for well sighted people to read larger print than it is for vision empaired people to read very small print. 

    Now for the printer issue I have it working now thanks to you sorting out the software. since you did that I have been able to upload everythng. THANKS LOADS   

    Now i am farather along with the resetup of this printer. The only problem I am having now is I purchased the NTC 3950 thermistors for this rebuild. I uploaded with every possible combination and it still reads at best -55c and with the correct sensor picked in config tool it is reading -187 or there about. The only way I got the printer to print is changing the safty values to non save amounts and setting the max  temp to 99. What am i missing. If i leave it correct it decouples and shuts down. 
    Sorry I am lost again.
    Mark
  • The -55 or -187°C is min value so firmware is not reading the analog input used for thermistor. 
    Note that sensor 1 for board is the bed pin if there is a special one. Easy solution is to switch between connectors until you see a value change. If you use preset names it is at least reading one of the thermistor pins.

    Regarding dark mode - go to dashboard. There are some icons on top and one is for light/dark mode selection. Maybe dark mode is easier to read also there is still blue/white as secondary color. But honestly it is the first time I hear it is a problem blue/white. red/green is well known.

    For host there is no way to change colors or font size - this is fixed due to the way it is implemented. 
  • Well Not sure what you mean ffirmware is not reading the analog input used for thermistor. I have the extruder plugted into sensor 0       the closest to the end with the power and usb plug. the bed is pluged into the sensor 1 the moddle one and currently nothing is pluged into thesensor 2 the one closest to the connector for the display.   the extruder does heat up and the thermistor reads out to the display connector.   last post  above the settings were for the one that I found to have the closest to room temp at no power ie the -55 when i power up and call for preheat the sensor rises and the temp rises but the temp goes up way to hot. itreached a displayed 65c andit was already melting the filiment and would easly flow by hand kind of like it was at 180c.  that is when i set the max temp to 99 and it would extruded fine  while runing a print. the temp was reading 99 just like I set it to be in the confug tool.     the extruder temp does read out on the display and the bed thermistor reads out as it should with no problems.
      
    Today i tried anoother attempt at the 100k NTC celection and it now reads -187 at room temp and prints at a max temp set to 99 and the display shows the 99c while printing.

    now am i missing something like should I have the pullup resistor installed.  I have never used that and do not have one made or in place.  so if i do need to have the pull up setup in place   can you telll me what discription page to i follow and what size resistors. also can you tell me what should I select in the config tool if other than the NTC 100K.  sORRY I have become very confused and not sure what to do. If you could explain what to make and what to set the config to it would be a big help. I am trying to get a coouple of things done for christmas.  All else is working well just the problem with the thermistor.    this is the confiig.h

    /*
        This file is part of Repetier-Firmware.

        Repetier-Firmware is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.

        Repetier-Firmware is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with Repetier-Firmware.  If not, see <http://www.gnu.org/licenses/>.

    */

    #ifndef CONFIGURATION_H
    #define CONFIGURATION_H

    /**************** READ FIRST ************************

       This configuration file was created with the configuration tool. For that
       reason, it does not contain the same informations as the original Configuration.h file.
       It misses the comments and unused parts. Open this file file in the config tool
       to see and change the data. You can also upload it to newer/older versions. The system
       will silently add new options, so compilation continues to work.

       This file is optimized for version 1.0.4dev

       If you are in doubt which named functions use which pins on your board, please check the
       pins.h for the used name->pin assignments and your board documentation to verify it is
       as you expect.

    */

    #define NUM_EXTRUDER 1
    #define MOTHERBOARD 33
    #include "pins.h"

    // ################## EDIT THESE SETTINGS MANUALLY ################

    // ################ END MANUAL SETTINGS ##########################

    #define HOST_RESCUE 1
    #undef FAN_BOARD_PIN
    #define FAN_BOARD_PIN -1
    #define BOARD_FAN_SPEED 255
    #define BOARD_FAN_MIN_SPEED 0
    #define FAN_THERMO_PIN -1
    #define FAN_THERMO_MIN_PWM 128
    #define FAN_THERMO_MAX_PWM 255
    #define FAN_THERMO_MIN_TEMP 45
    #define FAN_THERMO_MAX_TEMP 60
    #define FAN_THERMO_THERMISTOR_PIN -1
    #define FAN_THERMO_THERMISTOR_TYPE 1
    #undef Z_MAX_PIN
    #define Z_MAX_PIN -1

    //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
    // Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0
    // If it is incompatible you will get compiler errors about write functions not being compatible!
    //#define COMPAT_PRE1
    #define BLUETOOTH_SERIAL  -1
    #define BLUETOOTH_BAUD  115200
    #define MIXING_EXTRUDER 0

    #define DRIVE_SYSTEM 0
    #define XAXIS_STEPS_PER_MM 80
    #define YAXIS_STEPS_PER_MM 80
    #define ZAXIS_STEPS_PER_MM 1600
    #define EXTRUDER_FAN_COOL_TEMP 50
    #define PDM_FOR_EXTRUDER 0
    #define PDM_FOR_COOLER 0
    #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 60
    #define DECOUPLING_TEST_MIN_TEMP_RISE 1
    #define KILL_IF_SENSOR_DEFECT 1
    #define RETRACT_ON_PAUSE 2
    #define PAUSE_START_COMMANDS ""
    #define PAUSE_END_COMMANDS ""
    #define SHARED_EXTRUDER_HEATER 0
    #define EXT0_X_OFFSET 0
    #define EXT0_Y_OFFSET 0
    #define EXT0_Z_OFFSET 0
    #define EXT0_STEPS_PER_MM 2000
    #define EXT0_TEMPSENSOR_TYPE 14
    #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
    #define EXT0_HEATER_PIN HEATER_0_PIN
    #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
    #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
    #define EXT0_INVERSE 0
    #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
    #define EXT0_ENABLE_ON 0
    #define EXT0_MIRROR_STEPPER 0
    #define EXT0_STEP2_PIN ORIG_E0_STEP_PIN
    #define EXT0_DIR2_PIN ORIG_E0_DIR_PIN
    #define EXT0_INVERSE2 0
    #define EXT0_ENABLE2_PIN ORIG_E0_ENABLE_PIN
    #define EXT0_MAX_FEEDRATE 50
    #define EXT0_MAX_START_FEEDRATE 20
    #define EXT0_MAX_ACCELERATION 5000
    #define EXT0_HEAT_MANAGER 3
    #define EXT0_PREHEAT_TEMP 65
    #define EXT0_WATCHPERIOD 1
    #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
    #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
    #define EXT0_PID_PGAIN_OR_DEAD_TIME 50
    #define EXT0_PID_I 2
    #define EXT0_PID_D 40
    #define EXT0_PID_MAX 255
    #define EXT0_ADVANCE_K 0
    #define EXT0_ADVANCE_L 0
    #define EXT0_ADVANCE_BACKLASH_STEPS 0
    #define EXT0_WAIT_RETRACT_TEMP 150
    #define EXT0_WAIT_RETRACT_UNITS 0
    #define EXT0_SELECT_COMMANDS ""
    #define EXT0_DESELECT_COMMANDS ""
    #define EXT0_EXTRUDER_COOLER_PIN -1
    #define EXT0_EXTRUDER_COOLER_SPEED 255
    #define EXT0_DECOUPLE_TEST_PERIOD 30000
    #define EXT0_JAM_PIN -1
    #define EXT0_JAM_PULLUP 0

    #define FEATURE_RETRACTION 0
    #define AUTORETRACT_ENABLED 0
    #define RETRACTION_LENGTH 3
    #define RETRACTION_LONG_LENGTH 13
    #define RETRACTION_SPEED 40
    #define RETRACTION_Z_LIFT 0
    #define RETRACTION_UNDO_EXTRA_LENGTH 0
    #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
    #define RETRACTION_UNDO_SPEED 20
    #define FILAMENTCHANGE_X_POS 15
    #define FILAMENTCHANGE_Y_POS 15
    #define FILAMENTCHANGE_Z_ADD  2
    #define FILAMENTCHANGE_REHOME 1
    #define FILAMENTCHANGE_SHORTRETRACT 5
    #define FILAMENTCHANGE_LONGRETRACT 50
    #define JAM_METHOD 1
    #define JAM_STEPS 220
    #define JAM_SLOWDOWN_STEPS 320
    #define JAM_SLOWDOWN_TO 70
    #define JAM_ERROR_STEPS 500
    #define JAM_MIN_STEPS 10
    #define JAM_ACTION 1

    #define RETRACT_DURING_HEATUP true
    #define PID_CONTROL_RANGE 20
    #define SKIP_M109_IF_WITHIN 2
    #define SCALE_PID_TO_MAX 1
    #define TEMP_HYSTERESIS 0
    #define EXTRUDE_MAXLENGTH 160
    #define NUM_TEMPS_USERTHERMISTOR0 0
    #define USER_THERMISTORTABLE0 {}
    #define NUM_TEMPS_USERTHERMISTOR1 0
    #define USER_THERMISTORTABLE1 {}
    #define NUM_TEMPS_USERTHERMISTOR2 0
    #define USER_THERMISTORTABLE2 {}
    #define GENERIC_THERM_VREF 5
    #define GENERIC_THERM_NUM_ENTRIES 33
    #define TEMP_GAIN 0
    #define HEATER_PWM_SPEED 0
    #define COOLER_PWM_SPEED 0

    // ############# Heated bed configuration ########################

    #define HAVE_HEATED_BED 1
    #define HEATED_BED_PREHEAT_TEMP 50
    #define HEATED_BED_MAX_TEMP 120
    #define SKIP_M190_IF_WITHIN 3
    #define HEATED_BED_SENSOR_TYPE 1
    #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
    #define HEATED_BED_HEATER_PIN HEATER_1_PIN
    #define HEATED_BED_SET_INTERVAL 5000
    #define HEATED_BED_HEAT_MANAGER 3
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
    #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196
    #define HEATED_BED_PID_IGAIN   33
    #define HEATED_BED_PID_DGAIN 290
    #define HEATED_BED_PID_MAX 255
    #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
    #define MIN_EXTRUDER_TEMP 60
    #define MAXTEMP 99
    #define MIN_DEFECT_TEMPERATURE -100
    #define MAX_DEFECT_TEMPERATURE 111
    #define MILLISECONDS_PREHEAT_TIME 30000

    // ##########################################################################################
    // ##                             Laser configuration                                      ##
    // ##########################################################################################

    /*
    If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
    Please use this feature only if you know about safety and required protection. Lasers are
    dangerous and can hurt or make you blind!!!

    The default laser driver only supports laser on and off. Here you control the intensity with
    your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
    you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
    and comments on how to extend the functions non invasive with our event system.

    If you have a laser - powder system you will like your E override. If moves contain a
    increasing extruder position it will laser that move. With this trick you can
    use existing fdm slicers to laser the output. Laser width is extrusion width.

    Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
    and G0 moves have it disables.

    In any case, laser only enables while moving. At the end of a move it gets
    automatically disabled.
    */

    #define SUPPORT_LASER 0
    #define LASER_PIN -1
    #define LASER_ON_HIGH 1
    #define LASER_WARMUP_TIME 0
    #define LASER_PWM_MAX 255
    #define LASER_WATT 2

    // ##                              CNC configuration                                       ##

    /*
    If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
    similar to laser mode, but mill keeps enabled during G0 moves and it allows
    setting rpm (only with event extension that supports this) and milling direction.
    It also can add a delay to wait for spindle to run on full speed.
    */

    #define SUPPORT_CNC 0
    #define CNC_WAIT_ON_ENABLE 300
    #define CNC_WAIT_ON_DISABLE 0
    #define CNC_ENABLE_PIN -1
    #define CNC_ENABLE_WITH 1
    #define CNC_DIRECTION_PIN -1
    #define CNC_DIRECTION_CW 1
    #define CNC_PWM_MAX 255
    #define CNC_RPM_MAX 8000
    #define CNC_SAFE_Z 150

    #define DEFAULT_PRINTER_MODE 0

    // ################ Endstop configuration #####################

    #define MULTI_ZENDSTOP_HOMING 0
    #define ENDSTOP_PULLUP_X_MIN true
    #define ENDSTOP_X_MIN_INVERTING true
    #define MIN_HARDWARE_ENDSTOP_X true
    #define ENDSTOP_PULLUP_Y_MIN true
    #define ENDSTOP_Y_MIN_INVERTING true
    #define MIN_HARDWARE_ENDSTOP_Y true
    #define ENDSTOP_PULLUP_Z_MIN true
    #define ENDSTOP_Z_MIN_INVERTING true
    #define MIN_HARDWARE_ENDSTOP_Z true
    #define ENDSTOP_PULLUP_Z2_MINMAX true
    #define ENDSTOP_Z2_MINMAX_INVERTING false
    #define MINMAX_HARDWARE_ENDSTOP_Z2 false
    #define ENDSTOP_PULLUP_X_MAX true
    #define ENDSTOP_X_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_X false
    #define ENDSTOP_PULLUP_Y_MAX true
    #define ENDSTOP_Y_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_Y false
    #define ENDSTOP_PULLUP_Z_MAX true
    #define ENDSTOP_Z_MAX_INVERTING false
    #define MAX_HARDWARE_ENDSTOP_Z false
    #define ENDSTOP_PULLUP_X2_MIN true
    #define ENDSTOP_PULLUP_Y2_MIN true
    #define ENDSTOP_PULLUP_Z2_MINMAX true
    #define ENDSTOP_PULLUP_X2_MAX true
    #define ENDSTOP_PULLUP_Y2_MAX true
    #define ENDSTOP_X2_MIN_INVERTING false
    #define ENDSTOP_Y2_MIN_INVERTING false
    #define ENDSTOP_X2_MAX_INVERTING false
    #define ENDSTOP_Y2_MAX_INVERTING false
    #define MIN_HARDWARE_ENDSTOP_X2 false
    #define MIN_HARDWARE_ENDSTOP_Y2 false
    #define MAX_HARDWARE_ENDSTOP_X2 false
    #define MAX_HARDWARE_ENDSTOP_Y2 false
    #define X2_MIN_PIN -1
    #define X2_MAX_PIN -1
    #define Y2_MIN_PIN -1
    #define Y2_MAX_PIN -1
    #define Z2_MINMAX_PIN -1



    #define max_software_endstop_r true

    #define min_software_endstop_x false
    #define min_software_endstop_y false
    #define min_software_endstop_z false
    #define max_software_endstop_x true
    #define max_software_endstop_y true
    #define max_software_endstop_z true
    #define DOOR_PIN -1
    #define DOOR_PULLUP 1
    #define DOOR_INVERTING 1
    #define ENDSTOP_X_BACK_MOVE 5
    #define ENDSTOP_Y_BACK_MOVE 5
    #define ENDSTOP_Z_BACK_MOVE 2
    #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
    #define ENDSTOP_X_BACK_ON_HOME 15
    #define ENDSTOP_Y_BACK_ON_HOME 15
    #define ENDSTOP_Z_BACK_ON_HOME 2
    #define ALWAYS_CHECK_ENDSTOPS 1
    #define MOVE_X_WHEN_HOMED 0
    #define MOVE_Y_WHEN_HOMED 0
    #define MOVE_Z_WHEN_HOMED 0

    // ################# XYZ movements ###################

    #define X_ENABLE_ON 0
    #define Y_ENABLE_ON 0
    #define Z_ENABLE_ON 0
    #define DISABLE_X 0
    #define DISABLE_Y 0
    #define DISABLE_Z 0
    #define DISABLE_E 0
    #define INVERT_X_DIR 0
    #define INVERT_X2_DIR 0
    #define INVERT_Y_DIR 0
    #define INVERT_Y2_DIR 0
    #define INVERT_Z_DIR 0
    #define INVERT_Z2_DIR 0
    #define INVERT_Z3_DIR 0
    #define INVERT_Z4_DIR 0
    #define X_HOME_DIR -1
    #define Y_HOME_DIR -1
    #define Z_HOME_DIR -1
    #define X_MAX_LENGTH 215
    #define Y_MAX_LENGTH 215
    #define Z_MAX_LENGTH 160
    #define X_MIN_POS 0
    #define Y_MIN_POS 0
    #define Z_MIN_POS 0
    #define PARK_POSITION_X 0
    #define PARK_POSITION_Y 0
    #define PARK_POSITION_Z_RAISE 10


    #define DISTORTION_CORRECTION 0
    #define DISTORTION_CORRECTION_POINTS 5
    #define DISTORTION_LIMIT_TO 2
    #define DISTORTION_CORRECTION_R 100
    #define DISTORTION_PERMANENT 1
    #define DISTORTION_UPDATE_FREQUENCY 15
    #define DISTORTION_START_DEGRADE 0.5
    #define DISTORTION_END_HEIGHT 1
    #define DISTORTION_EXTRAPOLATE_CORNERS 0
    #define DISTORTION_XMIN 10
    #define DISTORTION_YMIN 10
    #define DISTORTION_XMAX 190
    #define DISTORTION_YMAX 190

    // ##########################################################################################
    // ##                           Movement settings                                          ##
    // ##########################################################################################

    #define FEATURE_BABYSTEPPING 1
    #define BABYSTEP_MULTIPLICATOR 1

    #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
    #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
    #define EXACT_DELTA_MOVES 1

    // Delta settings
    #define DELTA_HOME_ON_POWER 0

    #define DELTASEGMENTS_PER_PRINTLINE 20
    #define STEPPER_INACTIVE_TIME 360L
    #define MAX_INACTIVE_TIME 0L
    #define MAX_FEEDRATE_X 200
    #define MAX_FEEDRATE_Y 200
    #define MAX_FEEDRATE_Z 2
    #define HOMING_FEEDRATE_X 40
    #define HOMING_FEEDRATE_Y 40
    #define HOMING_FEEDRATE_Z 2
    #define HOMING_ORDER HOME_ORDER_ZXY
    #define ZHOME_PRE_RAISE 0
    #define ZHOME_PRE_RAISE_DISTANCE 10
    #define RAISE_Z_ON_TOOLCHANGE 0
    #define ZHOME_MIN_TEMPERATURE 0
    #define ZHOME_HEAT_ALL 1
    #define ZHOME_HEAT_HEIGHT 20
    #define ZHOME_X_POS 999999
    #define ZHOME_Y_POS 999999
    #define ENABLE_BACKLASH_COMPENSATION 0
    #define X_BACKLASH 0
    #define Y_BACKLASH 0
    #define Z_BACKLASH 0
    #define RAMP_ACCELERATION 1
    #define STEPPER_HIGH_DELAY 0
    #define DIRECTION_DELAY 0
    #define STEP_DOUBLER_FREQUENCY 12000
    #define ALLOW_QUADSTEPPING 1
    #define DOUBLE_STEP_DELAY 0 // time in microseconds
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
    #define INTERPOLATE_ACCELERATION_WITH_Z 0
    #define ACCELERATION_FACTOR_TOP 100
    #define MAX_JERK 20
    #define MAX_ZJERK 0.3
    #define PRINTLINE_CACHE_SIZE 16
    #define MOVE_CACHE_LOW 10
    #define LOW_TICKS_PER_MOVE 250000
    #define EXTRUDER_SWITCH_XY_SPEED 100
    #define DUAL_X_AXIS 0
    #define DUAL_X_RESOLUTION 0
    #define X2AXIS_STEPS_PER_MM 100
    #define FEATURE_TWO_XSTEPPER 0
    #define X2_STEP_PIN   ORIG_E1_STEP_PIN
    #define X2_DIR_PIN    ORIG_E1_DIR_PIN
    #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
    #define FEATURE_TWO_YSTEPPER 0
    #define Y2_STEP_PIN   ORIG_E1_STEP_PIN
    #define Y2_DIR_PIN    ORIG_E1_DIR_PIN
    #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
    #define FEATURE_TWO_ZSTEPPER 0
    #define Z2_STEP_PIN   ORIG_E1_STEP_PIN
    #define Z2_DIR_PIN    ORIG_E1_DIR_PIN
    #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
    #define FEATURE_THREE_ZSTEPPER 0
    #define Z3_STEP_PIN   ORIG_E2_STEP_PIN
    #define Z3_DIR_PIN    ORIG_E2_DIR_PIN
    #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
    #define FEATURE_FOUR_ZSTEPPER 0
    #define Z4_STEP_PIN   ORIG_E3_STEP_PIN
    #define Z4_DIR_PIN    ORIG_E3_DIR_PIN
    #define Z4_ENABLE_PIN ORIG_E3_ENABLE_PIN
    #define FEATURE_DITTO_PRINTING 0
    #define USE_ADVANCE 0
    #define ENABLE_QUADRATIC_ADVANCE 1


    // ################# Misc. settings ##################

    #define BAUDRATE 115200
    #define ENABLE_POWER_ON_STARTUP 1
    #define POWER_INVERTING 0
    #define AUTOMATIC_POWERUP 0
    #define KILL_METHOD 1
    #define ACK_WITH_LINENUMBER 1
    #define KEEP_ALIVE_INTERVAL 2000
    #define WAITING_IDENTIFIER "wait"
    #define ECHO_ON_EXECUTE 1
    #define EEPROM_MODE 2
    #undef PS_ON_PIN
    #define PS_ON_PIN ORIG_PS_ON_PIN
    #define JSON_OUTPUT 0

    /* ======== Servos =======
    Control the servos with
    M340 P<servoId> S<pulseInUS>   / ServoID = 0..3  pulseInUs = 500..2500
    Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
    WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
    */
    #define FEATURE_SERVO 0
    #define SERVO0_PIN 11
    #define SERVO1_PIN -1
    #define SERVO2_PIN -1
    #define SERVO3_PIN -1
    #define SERVO0_NEUTRAL_POS  -1
    #define SERVO1_NEUTRAL_POS  -1
    #define SERVO2_NEUTRAL_POS  -1
    #define SERVO3_NEUTRAL_POS  -1
    #define UI_SERVO_CONTROL 0
    #define FAN_KICKSTART_TIME  200
    #define MAX_FAN_PWM 255

            #define FEATURE_WATCHDOG 1

    // #################### Z-Probing #####################

    #define Z_PROBE_Z_OFFSET 0
    #define Z_PROBE_Z_OFFSET_MODE 0
    #define UI_BED_COATING 0
    #define FEATURE_Z_PROBE 0
    #define EXTRUDER_IS_Z_PROBE 0
    #define Z_PROBE_DISABLE_HEATERS 0
    #define Z_PROBE_BED_DISTANCE 10
    #define Z_PROBE_PIN -1
    #define Z_PROBE_PULLUP 0
    #define Z_PROBE_ON_HIGH 0
    #define Z_PROBE_X_OFFSET 0
    #define Z_PROBE_Y_OFFSET 0
    #define Z_PROBE_WAIT_BEFORE_TEST 0
    #define Z_PROBE_SPEED 2
    #define Z_PROBE_XY_SPEED 150
    #define Z_PROBE_SWITCHING_DISTANCE 1
    #define Z_PROBE_REPETITIONS 1
    #define Z_PROBE_USE_MEDIAN 0
    #define Z_PROBE_HEIGHT 40
    #define Z_PROBE_DELAY 0
    #define Z_PROBE_START_SCRIPT ""
    #define Z_PROBE_FINISHED_SCRIPT ""
    #define Z_PROBE_RUN_AFTER_EVERY_PROBE ""
    #define Z_PROBE_REQUIRES_HEATING 0
    #define Z_PROBE_MIN_TEMPERATURE 150
    #define FEATURE_AUTOLEVEL 0
    #define FEATURE_SOFTWARE_LEVELING 0
    #define Z_PROBE_X1 20
    #define Z_PROBE_Y1 20
    #define Z_PROBE_X2 160
    #define Z_PROBE_Y2 20
    #define Z_PROBE_X3 20
    #define Z_PROBE_Y3 160
    #define BED_LEVELING_METHOD 0
    #define BED_CORRECTION_METHOD 0
    #define BED_LEVELING_GRID_SIZE 5
    #define BED_LEVELING_REPETITIONS 5
    #define BED_MOTOR_1_X 0
    #define BED_MOTOR_1_Y 0
    #define BED_MOTOR_2_X 200
    #define BED_MOTOR_2_Y 0
    #define BED_MOTOR_3_X 100
    #define BED_MOTOR_3_Y 200
    #define BENDING_CORRECTION_A 0
    #define BENDING_CORRECTION_B 0
    #define BENDING_CORRECTION_C 0
    #define FEATURE_AXISCOMP 0
    #define AXISCOMP_TANXY 0
    #define AXISCOMP_TANYZ 0
    #define AXISCOMP_TANXZ 0

    #ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h
    #define SDSUPPORT 1
    #undef SDCARDDETECT
    #define SDCARDDETECT -1
    #undef SDCARDDETECTINVERTED
    #define SDCARDDETECTINVERTED 0
    #define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
    #define SD_RUN_ON_STOP ""
    #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
    #define ARC_SUPPORT 1
    #define FEATURE_MEMORY_POSITION 1
    #define FEATURE_CHECKSUM_FORCED 0
    #define FEATURE_FAN_CONTROL 0
    #define FEATURE_FAN2_CONTROL 0
    #define FEATURE_CONTROLLER 11
    #define ADC_KEYPAD_PIN -1
    #define LANGUAGE_EN_ACTIVE 1
    #define LANGUAGE_DE_ACTIVE 0
    #define LANGUAGE_NL_ACTIVE 0
    #define LANGUAGE_PT_ACTIVE 0
    #define LANGUAGE_IT_ACTIVE 0
    #define LANGUAGE_ES_ACTIVE 0
    #define LANGUAGE_FI_ACTIVE 0
    #define LANGUAGE_SE_ACTIVE 0
    #define LANGUAGE_FR_ACTIVE 0
    #define LANGUAGE_CZ_ACTIVE 0
    #define LANGUAGE_PL_ACTIVE 0
    #define LANGUAGE_TR_ACTIVE 0
    #define LANGUAGE_RU_ACTIVE 0
    #define UI_PRINTER_NAME "MendelMax"
    #define UI_PRINTER_COMPANY "KillgoDidit"
    #define UI_PAGES_DURATION 4000
    #define UI_SPEEDDEPENDENT_POSITIONING 1
    #define UI_DISABLE_AUTO_PAGESWITCH 1
    #define UI_AUTORETURN_TO_MENU_AFTER 30000
    #define FEATURE_UI_KEYS 0
    #define UI_ENCODER_SPEED 2
    #define UI_REVERSE_ENCODER 1
    #define UI_KEY_BOUNCETIME 10
    #define UI_KEY_FIRST_REPEAT 500
    #define UI_KEY_REDUCE_REPEAT 50
    #define UI_KEY_MIN_REPEAT 50
    #define FEATURE_BEEPER 1
    #define CASE_LIGHTS_PIN -1
    #define CASE_LIGHT_DEFAULT_ON 1
    #define UI_START_SCREEN_DELAY 1000
    #define UI_DYNAMIC_ENCODER_SPEED 1
            /**
    Beeper sound definitions for short beeps during key actions
    and longer beeps for important actions.
    Parameter is delay in microseconds and the secons is the number of repetitions.
    Values must be in range 1..255
    */
    #define BEEPER_SHORT_SEQUENCE 2,2
    #define BEEPER_LONG_SEQUENCE 8,8
    #define UI_SET_MIN_HEATED_BED_TEMP  50
    #define UI_SET_MAX_HEATED_BED_TEMP 120
    #define UI_SET_MIN_EXTRUDER_TEMP   180
    #define UI_SET_MAX_EXTRUDER_TEMP   260
    #define UI_SET_EXTRUDER_FEEDRATE 2
    #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3


    #define NUM_MOTOR_DRIVERS 0




    /* Below you will find the configuration string, that created this Configuration.h

    ========== Start configuration string ==========
    {
        "editMode": 2,
        "processor": 0,
        "baudrate": 115200,
        "bluetoothSerial": -1,
        "bluetoothBaudrate": 115200,
        "xStepsPerMM": 80,
        "yStepsPerMM": 80,
        "zStepsPerMM": 1600,
        "xInvert": 0,
        "x2Invert": 0,
        "xInvertEnable": 0,
        "eepromMode": 2,
        "yInvert": 0,
        "y2Invert": 0,
        "yInvertEnable": 0,
        "zInvert": 0,
        "z2Invert": 0,
        "z3Invert": 0,
        "z4Invert": 0,
        "zInvertEnable": 0,
        "extruder": [
            {
                "id": 0,
                "heatManager": 3,
                "pidDriveMin": 40,
                "pidDriveMax": 230,
                "pidMax": 255,
                "sensorType": 14,
                "sensorPin": "TEMP_0_PIN",
                "heaterPin": "HEATER_0_PIN",
                "maxFeedrate": 50,
                "startFeedrate": 20,
                "invert": "0",
                "invertEnable": "0",
                "acceleration": 5000,
                "watchPeriod": 1,
                "pidP": 50,
                "pidI": 2,
                "pidD": 40,
                "advanceK": 0,
                "advanceL": 0,
                "waitRetractTemp": 150,
                "waitRetractUnits": 0,
                "waitRetract": 0,
                "stepsPerMM": 2000,
                "coolerPin": -1,
                "coolerSpeed": 255,
                "selectCommands": "",
                "deselectCommands": "",
                "xOffset": 0,
                "yOffset": 0,
                "zOffset": 0,
                "xOffsetSteps": 0,
                "yOffsetSteps": 0,
                "zOffsetSteps": 0,
                "stepper": {
                    "name": "Extruder 0",
                    "step": "ORIG_E0_STEP_PIN",
                    "dir": "ORIG_E0_DIR_PIN",
                    "enable": "ORIG_E0_ENABLE_PIN"
                },
                "advanceBacklashSteps": 0,
                "decoupleTestPeriod": 30,
                "jamPin": -1,
                "jamPullup": "0",
                "mirror": "0",
                "invert2": "0",
                "stepper2": {
                    "name": "Extruder 0",
                    "step": "ORIG_E0_STEP_PIN",
                    "dir": "ORIG_E0_DIR_PIN",
                    "enable": "ORIG_E0_ENABLE_PIN"
                },
                "preheat": 65
            }
        ],
        "uiLanguage": 0,
        "uiController": 0,
        "xMinEndstop": 1,
        "yMinEndstop": 1,
        "zMinEndstop": 1,
        "xMaxEndstop": 0,
        "yMaxEndstop": 0,
        "zMaxEndstop": 0,
        "x2MinEndstop": 0,
        "y2MinEndstop": 0,
        "x2MaxEndstop": 0,
        "y2MaxEndstop": 0,
        "motherboard": 33,
        "driveSystem": 0,
        "xMaxSpeed": 200,
        "xHomingSpeed": 40,
        "xTravelAcceleration": 1000,
        "xPrintAcceleration": 1000,
        "yMaxSpeed": 200,
        "yHomingSpeed": 40,
        "yTravelAcceleration": 1000,
        "yPrintAcceleration": 1000,
        "zMaxSpeed": 2,
        "zHomingSpeed": 2,
        "zTravelAcceleration": 100,
        "zPrintAcceleration": 100,
        "xMotor": {
            "name": "X motor",
            "step": "ORIG_X_STEP_PIN",
            "dir": "ORIG_X_DIR_PIN",
            "enable": "ORIG_X_ENABLE_PIN"
        },
        "yMotor": {
            "name": "Y motor",
            "step": "ORIG_Y_STEP_PIN",
            "dir": "ORIG_Y_DIR_PIN",
            "enable": "ORIG_Y_ENABLE_PIN"
        },
        "zMotor": {
            "name": "Z motor",
            "step": "ORIG_Z_STEP_PIN",
            "dir": "ORIG_Z_DIR_PIN",
            "enable": "ORIG_Z_ENABLE_PIN"
        },
        "enableBacklash": "0",
        "backlashX": 0,
        "backlashY": 0,
        "backlashZ": 0,
        "stepperInactiveTime": 360,
        "maxInactiveTime": 0,
        "xMinPos": 0,
        "yMinPos": 0,
        "zMinPos": 0,
        "xLength": 215,
        "yLength": 215,
        "zLength": 160,
        "alwaysCheckEndstops": "1",
        "disableX": "0",
        "disableY": "0",
        "disableZ": "0",
        "disableE": "0",
        "xHomeDir": "-1",
        "yHomeDir": "-1",
        "zHomeDir": "-1",
        "xEndstopBack": 15,
        "yEndstopBack": 15,
        "zEndstopBack": 2,
        "deltaSegmentsPerSecondPrint": 180,
        "deltaSegmentsPerSecondTravel": 70,
        "deltaDiagonalRod": 445,
        "deltaHorizontalRadius": 209.25,
        "deltaAlphaA": 210,
        "deltaAlphaB": 330,
        "deltaAlphaC": 90,
        "deltaDiagonalCorrA": 0,
        "deltaDiagonalCorrB": 0,
        "deltaDiagonalCorrC": 0,
        "deltaMaxRadius": 150,
        "deltaFloorSafetyMarginMM": 15,
        "deltaRadiusCorrA": 0,
        "deltaRadiusCorrB": 0,
        "deltaRadiusCorrC": 0,
        "deltaXOffsetSteps": 0,
        "deltaYOffsetSteps": 0,
        "deltaZOffsetSteps": 0,
        "deltaSegmentsPerLine": 20,
        "stepperHighDelay": 0,
        "directionDelay": 0,
        "stepDoublerFrequency": 12000,
        "allowQuadstepping": "1",
        "doubleStepDelay": 0,
        "maxJerk": 20,
        "maxZJerk": 0.3,
        "moveCacheSize": 16,
        "moveCacheLow": 10,
        "lowTicksPerMove": 250000,
        "enablePowerOnStartup": "1",
        "echoOnExecute": "1",
        "sendWaits": "1",
        "ackWithLineNumber": "1",
        "killMethod": 1,
        "useAdvance": "0",
        "useQuadraticAdvance": "1",
        "powerInverting": 0,
        "mirrorX": 0,
        "mirrorXMotor": {
            "name": "Extruder 1",
            "step": "ORIG_E1_STEP_PIN",
            "dir": "ORIG_E1_DIR_PIN",
            "enable": "ORIG_E1_ENABLE_PIN"
        },
        "mirrorY": 0,
        "mirrorYMotor": {
            "name": "Extruder 1",
            "step": "ORIG_E1_STEP_PIN",
            "dir": "ORIG_E1_DIR_PIN",
            "enable": "ORIG_E1_ENABLE_PIN"
        },
        "mirrorZ": "0",
        "mirrorZMotor": {
            "name": "Extruder 1",
            "step": "ORIG_E1_STEP_PIN",
            "dir": "ORIG_E1_DIR_PIN",
            "enable": "ORIG_E1_ENABLE_PIN"
        },
        "mirrorZ3": "0",
        "mirrorZ3Motor": {
            "name": "Extruder 2",
            "step": "ORIG_E2_STEP_PIN",
            "dir": "ORIG_E2_DIR_PIN",
            "enable": "ORIG_E2_ENABLE_PIN"
        },
        "mirrorZ4": "0",
        "mirrorZ4Motor": {
            "name": "Extruder 3",
            "step": "ORIG_E3_STEP_PIN",
            "dir": "ORIG_E3_DIR_PIN",
            "enable": "ORIG_E3_ENABLE_PIN"
        },
        "dittoPrinting": "0",
        "featureServos": "0",
        "servo0Pin": 11,
        "servo1Pin": -1,
        "servo2Pin": -1,
        "servo3Pin": -1,
        "featureWatchdog": "1",
        "hasHeatedBed": "1",
        "enableZProbing": "0",
        "extrudeMaxLength": 160,
        "homeOrder": "HOME_ORDER_ZXY",
        "featureController": 11,
        "uiPrinterName": "MendelMax",
        "uiPrinterCompany": "KillgoDidit",
        "uiPagesDuration": 4000,
        "uiHeadline": "",
        "uiDisablePageswitch": "1",
        "uiAutoReturnAfter": 30000,
        "featureKeys": "0",
        "uiEncoderSpeed": 2,
        "uiReverseEncoder": "1",
        "uiKeyBouncetime": 10,
        "uiKeyFirstRepeat": 500,
        "uiKeyReduceRepeat": 50,
        "uiKeyMinRepeat": 50,
        "featureBeeper": "1",
        "uiMinHeatedBed": 50,
        "uiMaxHeatedBed": 120,
        "uiMinEtxruderTemp": 180,
        "uiMaxExtruderTemp": 260,
        "uiExtruderFeedrate": 2,
        "uiExtruderRetractDistance": 3,
        "uiSpeeddependentPositioning": "1",
        "maxBedTemperature": 120,
        "bedSensorType": 1,
        "bedSensorPin": "TEMP_1_PIN",
        "bedHeaterPin": "HEATER_1_PIN",
        "bedHeatManager": 3,
        "bedPreheat": 50,
        "bedUpdateInterval": 5000,
        "bedPidDriveMin": 80,
        "bedPidDriveMax": 255,
        "bedPidP": 196,
        "bedPidI": 33,
        "bedPidD": 290,
        "bedPidMax": 255,
        "bedDecoupleTestPeriod": 300,
        "caseLightPin": -1,
        "caseLightDefaultOn": "1",
        "bedSkipIfWithin": 3,
        "gen1T0": 25,
        "gen1R0": 100000,
        "gen1Beta": 4036,
        "gen1MinTemp": -20,
        "gen1MaxTemp": 300,
        "gen1R1": 0,
        "gen1R2": 4700,
        "gen2T0": 25,
        "gen2R0": 100000,
        "gen2Beta": 4036,
        "gen2MinTemp": -20,
        "gen2MaxTemp": 300,
        "gen2R1": 0,
        "gen2R2": 4700,
        "gen3T0": 25,
        "gen3R0": 100000,
        "gen3Beta": 4036,
        "gen3MinTemp": -20,
        "gen3MaxTemp": 300,
        "gen3R1": 0,
        "gen3R2": 4700,
        "userTable0": {
            "r1": 0,
            "r2": 4700,
            "temps": [],
            "numEntries": 0
        },
        "userTable1": {
            "r1": 0,
            "r2": 4700,
            "temps": [],
            "numEntries": 0
        },
        "userTable2": {
            "r1": 0,
            "r2": 4700,
            "temps": [],
            "numEntries": 0
        },
        "tempHysteresis": 0,
        "pidControlRange": 20,
        "skipM109Within": 2,
        "extruderFanCoolTemp": 50,
        "minTemp": 60,
        "maxTemp": 99,
        "minDefectTemp": -100,
        "maxDefectTemp": 111,
        "arcSupport": "1",
        "featureMemoryPositionWatchdog": "1",
        "forceChecksum": "0",
        "sdExtendedDir": "1",
        "featureFanControl": "0",
        "fanPin": "ORIG_FAN_PIN",
        "featureFan2Control": "0",
        "fan2Pin": "ORIG_FAN2_PIN",
        "fanThermoPin": -1,
        "fanThermoMinPWM": 128,
        "fanThermoMaxPWM": 255,
        "fanThermoMinTemp": 45,
        "fanThermoMaxTemp": 60,
        "fanThermoThermistorPin": -1,
        "fanThermoThermistorType": 1,
        "scalePidToMax": "1",
        "zProbePin": -1,
        "zProbeBedDistance": 10,
        "zProbeDisableHeaters": "0",
        "zProbePullup": "0",
        "zProbeOnHigh": "0",
        "zProbeXOffset": 0,
        "zProbeYOffset": 0,
        "zProbeWaitBeforeTest": "0",
        "zProbeSpeed": 2,
        "zProbeXYSpeed": 150,
        "zProbeHeight": 40,
        "zProbeStartScript": "",
        "zProbeFinishedScript": "",
        "featureAutolevel": "0",
        "zProbeX1": 20,
        "zProbeY1": 20,
        "zProbeX2": 160,
        "zProbeY2": 20,
        "zProbeX3": 20,
        "zProbeY3": 160,
        "zProbeSwitchingDistance": 1,
        "zProbeRepetitions": 1,
        "zProbeMedian": "0",
        "zProbeEveryPoint": "",
        "sdSupport": "1",
        "sdCardDetectPin": -1,
        "sdCardDetectInverted": "0",
        "uiStartScreenDelay": 1000,
        "xEndstopBackMove": 5,
        "yEndstopBackMove": 5,
        "zEndstopBackMove": 2,
        "xEndstopRetestFactor": 3,
        "yEndstopRetestFactor": 3,
        "zEndstopRetestFactor": 3,
        "xMinPin": "ORIG_X_MIN_PIN",
        "yMinPin": "ORIG_Y_MIN_PIN",
        "zMinPin": "ORIG_Z_MIN_PIN",
        "xMaxPin": "ORIG_X_MAX_PIN",
        "yMaxPin": "ORIG_Y_MAX_PIN",
        "zMaxPin": -1,
        "x2MinPin": -1,
        "y2MinPin": -1,
        "x2MaxPin": -1,
        "y2MaxPin": -1,
        "deltaHomeOnPower": "0",
        "fanBoardPin": -1,
        "heaterPWMSpeed": 0,
        "featureBabystepping": "1",
        "babystepMultiplicator": 1,
        "pdmForHeater": "0",
        "pdmForCooler": "0",
        "psOn": "ORIG_PS_ON_PIN",
        "mixingExtruder": "0",
        "decouplingTestMaxHoldVariance": 60,
        "decouplingTestMinTempRise": 1,
        "featureAxisComp": "0",
        "axisCompTanXY": 0,
        "axisCompTanXZ": 0,
        "axisCompTanYZ": 0,
        "retractOnPause": 2,
        "pauseStartCommands": "",
        "pauseEndCommands": "",
        "distortionCorrection": "0",
        "distortionCorrectionPoints": 5,
        "distortionCorrectionR": 100,
        "distortionPermanent": "1",
        "distortionUpdateFrequency": 15,
        "distortionStartDegrade": 0.5,
        "distortionEndDegrade": 1,
        "distortionExtrapolateCorners": "0",
        "distortionXMin": 10,
        "distortionXMax": 190,
        "distortionYMin": 10,
        "distortionYMax": 190,
        "sdRunOnStop": "",
        "sdStopHeaterMotorsOnStop": "1",
        "featureRetraction": "0",
        "autoretractEnabled": "0",
        "retractionLength": 3,
        "retractionLongLength": 13,
        "retractionSpeed": 40,
        "retractionZLift": 0,
        "retractionUndoExtraLength": 0,
        "retractionUndoExtraLongLength": 0,
        "retractionUndoSpeed": 20,
        "filamentChangeXPos": 15,
        "filamentChangeYPos": 15,
        "filamentChangeZAdd": 2,
        "filamentChangeRehome": 1,
        "filamentChangeShortRetract": 5,
        "filamentChangeLongRetract": 50,
        "fanKickstart": 200,
        "servo0StartPos": -1,
        "servo1StartPos": -1,
        "servo2StartPos": -1,
        "servo3StartPos": -1,
        "uiDynamicEncoderSpeed": "1",
        "uiServoControl": 0,
        "killIfSensorDefect": "1",
        "jamSteps": 220,
        "jamSlowdownSteps": 320,
        "jamSlowdownTo": 70,
        "jamErrorSteps": 500,
        "jamMinSteps": 10,
        "jamAction": 1,
        "jamMethod": 1,
        "primaryPort": 0,
        "numMotorDrivers": 0,
        "motorDrivers": [
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            },
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            },
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            },
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            },
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            },
            {
                "t": "None",
                "s": "",
                "invertEnable": "0",
                "invertDirection": "0",
                "stepsPerMM": 100,
                "speed": 10,
                "dirPin": -1,
                "stepPin": -1,
                "enablePin": -1,
                "endstopPin": -1,
                "invertEndstop": "0",
                "minEndstop": "1",
                "endstopPullup": "1",
                "maxDistance": 20
            }
        ],
        "manualConfig": "",
        "zHomeMinTemperature": 0,
        "zHomeXPos": 999999,
        "zHomeYPos": 999999,
        "zHomeHeatHeight": 20,
        "zHomeHeatAll": "1",
        "zProbeZOffsetMode": 0,
        "zProbeZOffset": 0,
        "zProbeDelay": 0,
        "uiBedCoating": "0",
        "langEN": "1",
        "langDE": "0",
        "langNL": "0",
        "langPT": "0",
        "langIT": "0",
        "langES": "0",
        "langFI": "0",
        "langSE": "0",
        "langFR": "0",
        "langCZ": "0",
        "langPL": "0",
        "langTR": "0",
        "langRU": "0",
        "interpolateAccelerationWithZ": 0,
        "accelerationFactorTop": 100,
        "bendingCorrectionA": 0,
        "bendingCorrectionB": 0,
        "bendingCorrectionC": 0,
        "preventZDisableOnStepperTimeout": "0",
        "supportLaser": "0",
        "laserPin": -1,
        "laserOnHigh": "1",
        "laserWarmupTime": 0,
        "defaultPrinterMode": 0,
        "laserPwmMax": 255,
        "laserWatt": 2,
        "supportCNC": "0",
        "cncWaitOnEnable": 300,
        "cncWaitOnDisable": 0,
        "cncEnablePin": -1,
        "cncEnableWith": "1",
        "cncDirectionPin": -1,
        "cncDirectionCW": "1",
        "cncPwmMax": 255,
        "cncRpmMax": 8000,
        "cncSafeZ": 150,
        "startupGCode": "",
        "jsonOutput": "0",
        "bedLevelingMethod": 0,
        "bedCorrectionMethod": 0,
        "bedLevelingGridSize": 5,
        "bedLevelingRepetitions": 5,
        "bedMotor1X": 0,
        "bedMotor1Y": 0,
        "bedMotor2X": 200,
        "bedMotor2Y": 0,
        "bedMotor3X": 100,
        "bedMotor3Y": 200,
        "zProbeRequiresHeating": "0",
        "zProbeMinTemperature": 150,
        "adcKeypadPin": -1,
        "sharedExtruderHeater": "0",
        "extruderSwitchXYSpeed": 100,
        "dualXAxis": "0",
        "boardFanSpeed": 255,
        "keepAliveInterval": 2000,
        "moveXWhenHomed": "0",
        "moveYWhenHomed": "0",
        "moveZWhenHomed": "0",
        "preheatTime": 30000,
        "multiZEndstopHoming": "0",
        "z2MinMaxPin": -1,
        "z2MinMaxEndstop": 0,
        "extruderIsZProbe": "0",
        "boardFanMinSpeed": 0,
        "doorPin": -1,
        "doorEndstop": 1,
        "zhomePreRaise": 0,
        "zhomePreRaiseDistance": 10,
        "dualXResolution": "0",
        "x2axisStepsPerMM": 100,
        "coolerPWMSpeed": 0,
        "maxFanPWM": 255,
        "raiseZOnToolchange": 0,
        "distortionLimitTo": 2,
        "automaticPowerup": 0,
        "hasTMC2130": "0",
        "TMC2130Sensorless": "0",
        "TMC2130Steathchop": "1",
        "TMC2130Interpolate256": "1",
        "TMC2130StallguardSensitivity": 0,
        "TMC2130PWMAmpl": 255,
        "TMC2130PWMGrad": 1,
        "TMC2130PWMAutoscale": "1",
        "TMC2130PWMFreq": 2,
        "TMC2130CSX": -1,
        "TMC2130CSY": -1,
        "TMC2130CSZ": -1,
        "TMC2130CSE0": -1,
        "TMC2130CSE1": -1,
        "TMC2130CSE2": -1,
        "TMC2130CSE3": -1,
        "TMC2130CSE4": -1,
        "TMC2130CurrentX": 1000,
        "TMC2130CurrentY": 1000,
        "TMC2130CurrentZ": 1000,
        "TMC2130CurrentE0": 1000,
        "TMC2130CurrentE1": 1000,
        "TMC2130CurrentE2": 1000,
        "TMC2130CurrentE3": 1000,
        "TMC2130CurrentE4": 1000,
        "TMC2130CoolstepTresholdX": 300,
        "TMC2130CoolstepTresholdY": 300,
        "TMC2130CoolstepTresholdZ": 300,
        "microstepX": 16,
        "microstepY": 16,
        "microstepZ": 16,
        "microstepE0": 16,
        "microstepE1": 16,
        "microstepE2": 16,
        "microstepE3": 16,
        "microstepE4": 16,
        "parkPosX": 0,
        "parkPosY": 0,
        "parkPosZ": 10,
        "emergencyParser": -1,
        "hostRescue": "1",
        "MAX31855SwCS": -1,
        "MAX31855SwCLK": -1,
        "tempGain": "0",
        "safeHoming": "1",
        "zProbeIIS2DH": "0",
        "hasMAX6675": false,
        "hasMAX31855": false,
        "hasMAX31855SW": false,
        "hasGeneric1": false,
        "hasGeneric2": false,
        "hasGeneric3": false,
        "hasUser0": false,
        "hasUser1": false,
        "hasUser2": false,
        "numExtruder": 1,
        "version": 100.4,
        "primaryPortName": ""
    }
    ========== End configuration string ==========

    */





    Thandks a lot
    Mark

  • All 100K thermistors read 25°C at 100k so if all is correct it should show more or less room temperature or something is wrong. Also you need to put them in thermistor pins not thermocouple pins. All curves are vor thermistors with additional 4.7K resistor. If you hold sensor in hand it should also show heating towards 30 so you know what you see is also coming from that sensor. 

    What I mean is that the sockets are not necessairily the one you think you have configured, so switch sensor to othe rsockets to see if you suddenly get something like room temperature.

    >Today i tried anoother attempt at the 100k NTC celection and it now reads -187 at room temp and prints at a max temp set to 99 and the display shows the 99c while printing.

    means you have correct pin, but temperatures make no sense so there is an error. One might be the 4.7k resistor is not 4.7k or defect or it is the thermocouple pin. These have no resistors at all and only work with correct amplifier boards (or amplifier is on board for that pin).
  • Well it took till about 11PM here in central time USA but with your help and some hard thinking to figure out what you ment about the pins are not what you think pins. there are many variations on the ramps board and some call out the pins differently than others. I did what you said and just started moving the sensors around and after I found out there is a 4.7k already on the pins it made sense. also I think my T0 pin has a problem. It would never read correctly. ended up with the EXTRUDER on the T1 or middle pins and the HotBed on T2. both read 20c and worked just long enough  to get the bed to 50c and something went bad on the bed heater. the terminal block is still showing voltage so I am going to pull the bed off tomorrow and see if it is simple fix or I have another to put on it, but I think I got the just of what you said.
    Thanks and I am sure I will be in touch again. I just wish I had time to print the gifts I was going to do. 
    Merry Christmas to All and to All a good night.

    Mark
  • OK I do not know what happened but the bed will not heat up. It has power from the Ramps the bed has continuity through the wires maybe it is shorted IDK the Heat Bed I had was a 300 300 so will not work. Oh well I will replace the Ramps and maybe the ATMega with new and try again. this stuff was about 8 years old or more. Time for some new stuff.

    Mark 
  • Make sure to operate bed only on the bed output which has a own fuse. Think it can handle something like 10A. But mosfets are one of the things failing most often. Together with stepper driver I guess.
  • WEL i found a problem and it is what you were talking about. I killed the mosfet. I have ordered a couple of the external bed heaters but they want to hook up to the standaard output for bed hear. I think the output to control the circuit coms from D8. is the voltage 5v from D8 or is it chainable form the sketch. I would like to jusst control the external heat controller form D8. Is it possible. I can bypass the ristors in the current circuit and not need to use the second extruder output. I think if it is 5v it will run the board. 
    'Thanks
    Mark
  • Yes, D8 sounds correct. Check if the signal still works of if the mosfet also overloaded the pin, so it does not work any more. Actually you can define any pin you want in the configuration file for bed so you can also use one on the extension boards if that makes connecting easier. Just replace the heater with the digital pin number you want to use for bed.
  • ok I am having a problem understanding where the LONG LIST  of pins available in the list of pins actually come out of the Ramps board.          Does the pin for heater require a didital output? Requiring it to be from the digital pin area on the Arduino. I think it should be simple but I am really a Mechanical kind of person. I am a retired Indy 500 Chief Mechanic that understands very little about electronics, But I am trying to learn. I get closer to understanding it every project but this one is eluding me. Please help me understand.             I have the pin that comes from digital 8 that goes to the mosfet that died. do i need a grond to add to it or do i need a +5v or so pin.    I think I need the ground.    

    If i wanted to use the Z max stop I think I would need the - and the signal. and set the config tool to the z max pin. I understand that but what do i use if I was wanting to use one of the less discriptive selections in the config tool.

    I will get this I just need a bit of understanding. Keep in mind I am aalmost Blind REALLY and doing lots of reading is hard for me. 

    Thanks for being understanding I really want to learn this stuff.

    Mark


  • See e.g. http://domoticx.com/arduino-mega-shield-ramps/ pinout image to see which digital pin is at which output pin.

    All pins are digital outputs if using Dxx pin number. As output they switch between 0v and +5V with max. 20mA output power. Drawing more current will break the AVR chip and at least that pin will stop working at all. So what you want is use one of the working 5V pins to a new mosfet setup where the pin is controlling the mosfet. The 2 other pins are main power - bed - ground I guess. Plus eventually some resistors but if you have an extra board it should be clear. the 5V pin is the signal plus that the board needs 12 or 24V + GND. Eventually additinally 5V always on for some electronics, but not necessarily.  I'm also no electron guy, only software. 
  • well things have gone very well with your help THANKS
    I am now looking to build another Printer. I would also like to make it bigger and better. 
    Thinking about going to a 32bit board. The BIGTREETECH SKR 2 seems like a really complete board as well as the Bigtreetech Octopus V1.1 Board. My confusion is even though I find questions that you have answered as to how to setup the stm32 boards there is no info I can find on how to even start in the configuration tool.

    Where do I start and is it available.

    Thanks for your help
    Mark
  • Condif tool is only for V1 which supports only avr and arduino due based boards.
    V2 firmware supports SKR 2, but not Octopus 1.1. It has no config tool so you need to write config manually. So have a look before you do as it is quite different to other firmwares, but has good documentation on supported features.
Sign In or Register to comment.