1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Answered Printer motors and heating are malfunctioning

Discussion in 'Troubleshooting' started by mclemens7, Dec 1, 2017.

Thread Status:
Not open for further replies.
  1. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    Im not trying to add anything, I just have a v6 i need to use for it and X axis doesnt work. I went into the config firmware did what you told me to do and reuploaded and got these pins error. Im using a ramps 1.4 board that i bought from amazon because my robo board blew up.
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    You started with an R1, not an R1+ correct?
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    All you would have needed to change in the configuration was one line (thermistor type) if all you were changing was the E3D and the RAMPS board (unless you have an R1+ in which case there is more to change).

    Post your configuration.h for us to review and if we know specifically which machine you have we can look it over.
     
  4. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
  5. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    R1 firmware https://help.robo3d.com/hc/en-us/articles/115000723672-Robo-R1-original-firmware
    This firmware still has the bad construct for Filepos_t

    R1+ Firmware https://help.robo3d.com/hc/en-us/articles/115000717071-Updating-firmware-with-Arduino
    This firmware also has the Filepos_t issue.

    Other than correcting the bad construct if you are just changing the hotend, then only one line needs changed:
    Code:
    #define TEMP_SENSOR_0 1   //robo
    needs to be changed to
    Code:
    #define TEMP_SENSOR_0 5   //robo
     
    mark tomlinson likes this.
  6. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  8. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    I have an r1+ what else do i have to change? And shouldnt the pin outs be the same?
     
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    No, Robo used a custom RAMPS board in the R1+
    The wiring is landed a bit differently. See that thread for specifics.
     
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    The R1 and Beta used a standard RAMPS 1.4, not sure why they changed things in the R1+ but I suspect they got a better price on the board they used since it did not have all of the same connectors.
     
  11. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    I have already done all the wiring for it, and everything is in the correct spots. And the only thing I changed was the thermistor and I get that stupid error. Could it be the board, because what I did was I blew the voltage regulator and I desoldered it and desoldered one from an uno and soldered it back on and it powered off. Could it be the arduino? and what else do I have to replace in the config for the r1+
     
  12. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    Sounds to me like you should replace the ramps/arduino with a new one, double check your wiring when you wire the new ramps. One thing wrong and you will cause yourself grief. Then follow above what @mark tomlinson and @WheresWaldo have been saying.

    Once you start soldering onto a integrated circuit board all bets are off. Replace it and start over.
     
    mark tomlinson likes this.
  13. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
  14. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Bingo (could not have said it better) even an experienced soldering dude(tte) can run into problems when you are forced to break out the iron. I do it (if I do it) on boards that are otherwise headed for the bin. If I get them working -- fine. If not -- fine.

    The biggest issue I have is that boards are no longer normally two layer boards (top/bottom) there are normally more layers inside you can't see :)
     
    WheresWaldo likes this.
  15. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    Yessir. And when a ramps board is 10 bucks, arduino is 12 and a kit with a lcd controller is 40 on amazon its kind of a no brainer anymore :D
     
    WheresWaldo and mark tomlinson like this.
  16. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    See, I do not think its the board because when I changed the Z max pin thing to just a random number (i changed it to 19) it uploaded fine. But the z max was screwed up (obviously)
     
  17. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    This
    Then

    Then


    Then report back your findings with pictures of all those steps so we can see what you doing/did physically and software (screenshots)
     
    mark tomlinson likes this.
  18. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    what-he-said.gif

    What he said... totally :)
     
    Geof likes this.
  19. mclemens7

    mclemens7 Member

    Joined:
    Jan 29, 2017
    Messages:
    165
    Likes Received:
    6
    Ok I’ve done everything you’ve asked me to do. I’ve done the cha
    nging of the firmware new Arduino everything. I also spent some time on the marlin and got help editing. I get this error. Please, I really need help. If you don’t know say you don’t know.

    Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    In file included from sketch/Marlin.h:23:0,
    from sketch/BlinkM.cpp:5:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/BlinkM.cpp:5:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/ConfigurationStore.cpp:1:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/ConfigurationStore.cpp:1:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/MarlinSerial.cpp:23:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/MarlinSerial.cpp:23:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/Marlin_main.cpp:30:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/Marlin_main.cpp:30:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    sketch/Marlin_main.cpp:2192:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
    ^
    sketch/Marlin_main.cpp: In function 'void loop()':
    sketch/Marlin_main.cpp:588:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    card.openFile("robo~1.gco",true);
    ^
    sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
    sketch/Marlin_main.cpp:884:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    planeNormal.debug("planeNormal");
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/thermistortables.h:4,
    from sketch/Configuration.h:710,
    from /Users/iLab/Downloads/ROBO3DR1PLUSV2/ROBO3DR1PLUSV2.ino:33:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from /Users/iLab/Downloads/ROBO3DR1PLUSV2/ROBO3DR1PLUSV2.ino:33:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/Sd2Card.cpp:20:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/Sd2Card.cpp:20:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/SdBaseFile.cpp:21:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/SdBaseFile.cpp:21:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/SdFatUtil.cpp:20:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/SdFatUtil.cpp:20:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/SdFile.cpp:20:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/SdFile.cpp:20:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/SdVolume.cpp:20:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/SdVolume.cpp:20:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/thermistortables.h:4,
    from sketch/Configuration.h:710,
    from sketch/Servo.cpp:44:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Servo.cpp:44:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/cardreader.cpp:1:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/cardreader.cpp:1:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/thermistortables.h:4,
    from sketch/Configuration.h:710,
    from sketch/digipot_mcp4451.cpp:1:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/digipot_mcp4451.cpp:1:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/motion_control.cpp:22:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/motion_control.cpp:22:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/planner.cpp:54:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/planner.cpp:54:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/thermistortables.h:4,
    from sketch/Configuration.h:710,
    from sketch/qr_solve.h:1,
    from sketch/qr_solve.cpp:1:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/qr_solve.h:1,
    from sketch/qr_solve.cpp:1:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/stepper.cpp:24:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/stepper.cpp:24:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:23:0,
    from sketch/temperature.cpp:32:
    sketch/pins.h:505:0: warning: "CONTROLLERFAN_PIN" redefined
    #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller
    ^
    In file included from sketch/Configuration.h:709:0,
    from sketch/Marlin.h:22,
    from sketch/temperature.cpp:32:
    sketch/Configuration_adv.h:64:0: note: this is the location of the previous definition
    #define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)
    ^
    In file included from sketch/Marlin.h:21:0,
    from sketch/temperature.cpp:32:
    fastio.h:45: error: pasting "DIO" and "-" does not give a valid preprocessing token
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
    {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }
    ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    fastio.h:34: error: pasting "DIO" and "-" does not give a valid preprocessing token
    {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }
    ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    fastio.h:39: error: pasting "DIO" and "-" does not give a valid preprocessing token
    {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }
    ^
    sketch/fastio.h:45:80: note: in expansion of macro '_WRITE_C'
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    sketch/fastio.h:39:16: note: in definition of macro '_WRITE_C'
    {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    sketch/temperature.cpp:591:15: note: in expansion of macro 'HEATER_BED_PIN'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    pins.h:557: error: unable to find numeric literal operator 'operator""_PIN'
    #define HEATER_BED_PIN -1 // NO BED
    ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
    #define MASK(PIN) (1 << PIN)
    ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    sketch/temperature.cpp:591:15: note: in expansion of macro 'HEATER_BED_PIN'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    pins.h:557: error: unable to find numeric literal operator 'operator""_WPORT'
    #define HEATER_BED_PIN -1 // NO BED
    ^
    sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
    #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    sketch/temperature.cpp:591:15: note: in expansion of macro 'HEATER_BED_PIN'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    pins.h:557: error: unable to find numeric literal operator 'operator""_PIN'
    #define HEATER_BED_PIN -1 // NO BED
    ^
    sketch/fastio.h:17:26: note: in definition of macro 'MASK'
    #define MASK(PIN) (1 << PIN)
    ^
    sketch/fastio.h:45:105: note: in expansion of macro '_WRITE_NC'
    #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
    ^
    sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
    #define WRITE(IO, v) _WRITE(IO, v)
    ^
    sketch/temperature.cpp:591:9: note: in expansion of macro 'WRITE'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    sketch/temperature.cpp:591:15: note: in expansion of macro 'HEATER_BED_PIN'
    WRITE(HEATER_BED_PIN,LOW);
    ^
    exit status 1
    pasting "DIO" and "-" does not give a valid preprocessing token
     
  20. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,757
    Likes Received:
    2,339
    try to upload stock firmware for your machine. Does it upload.
     
Thread Status:
Not open for further replies.

Share This Page