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

Unresolved Bed won't level

Discussion in 'Troubleshooting' started by sentec, Jan 9, 2016.

  1. sentec

    sentec New Member

    Joined:
    Jan 8, 2016
    Messages:
    14
    Likes Received:
    1
    Thanks so much Mike!
     
  2. sentec

    sentec New Member

    Joined:
    Jan 8, 2016
    Messages:
    14
    Likes Received:
    1
    Mike, I'm getting the following error when trying to upload with arduino:
    Marlin/Marlin.ino:44:101: fatal error: U8glib.h: No such file or directory
    #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://code.google.com/p/u8glib/)
    ^
    compilation terminated.
    exit status 1
    Error compiling.
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,917
    Likes Received:
    7,338
  4. sentec

    sentec New Member

    Joined:
    Jan 8, 2016
    Messages:
    14
    Likes Received:
    1
    Ok, got it added, now getting this error:

    In file included from ultralcd.cpp:34:0:
    dogm_lcd_implementation.h:136:22: error: 'DOGLCD_CS' was not declared in this scope
    U8GLIB_DOGM128 u8g(DOGLCD_CS, DOGLCD_A0); // HW-SPI Com: CS, A0
    ^
    dogm_lcd_implementation.h:136:33: error: 'DOGLCD_A0' was not declared in this scope
    U8GLIB_DOGM128 u8g(DOGLCD_CS, DOGLCD_A0); // HW-SPI Com: CS, A0
    ^
    Error compiling.
     
  5. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    What version of the compiler are you using, it needs to be the latest stable release. Also you shouldn't need U8GLIB if you do not have the Full Graphics enabled, the XXL controller doesn't use it. There must be a few lines that weren't reverted for use with the XXL. Check the following lines: 650, 651, 662, 663, 687, 697 all in Configuration.h, they should all look like the ones below.
    Code:
    //#define ULTRA_LCD  //general LCD support, also 16x2 --ROBO-BH
    //#define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family) --ROBO-BH
    ...
    //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click --ROBO-BH
    //#define LCD_FEEDBACK_FREQUENCY_HZ 100         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click --ROBO-BH
    ...
    #define REPRAP_DISCOUNT_SMART_CONTROLLER
    ...
    //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
    
    I am pretty sure that is all the necessary changes.
     
  6. sentec

    sentec New Member

    Joined:
    Jan 8, 2016
    Messages:
    14
    Likes Received:
    1

    That was it. Some of them were still enabled. Thanks boss! You guys rock! My printer is running something right now, so I'll try to upload it this afternoon. Hopefully I can take it from here.
     
    Mike Kelly likes this.
  7. Ocsff

    Ocsff Active Member

    Joined:
    Oct 28, 2014
    Messages:
    135
    Likes Received:
    40
    Make sure the bed is seated all the way. The magnets that hold it in place are not always in the exact alignment. If one if the gaps is larger push down on the glass bed at that magnet until it goes down to the same level at the other side. Auto level only compensates for small errors in the bed level.
     

Share This Page