Close



Results 1 to 10 of 25

Hybrid View

  1. #1
    Engineer-in-Training
    Join Date
    Jul 2016
    Location
    Pennsylvania, USA
    Posts
    255
    Hi

    At least my (possibly incomplete) understanding is that displays are an either / or sort of thing. You get to pick one of them. I do not have the DOGLCD define uncommented and it compiles fine.

    Bob

  2. #2
    Technologist ex-egll's Avatar
    Join Date
    Jan 2015
    Location
    Ottawa, Canada
    Posts
    130
    So does mine!!!

    I guess I read the Configuration.h comments as:

    Select either a Graphics or Text LCD at line 1100/1101

    Then select the specific display later on, in my case line 1253.

    One more obstacle overcome, luckily I have nothing that needs printing right now so I'll just play with the code.

    Thanks for your help Bob

    Barry

  3. #3
    Technologist ex-egll's Avatar
    Join Date
    Jan 2015
    Location
    Ottawa, Canada
    Posts
    130
    Rejoiced a little to quickly above...... it compiled OK but there was no display on the LCD!!!

    OK, lets try to summarise progress (or lack thereof) to date with respect to LCD issues

    Using Marlin 1.1.0-RC7

    This will compile and work with:
    #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER line 1142
    regardless of whether
    #define DOGLCD line 976 is commented out or not

    Using RC-7 Bugfix or RC-8

    Will not compile with both
    #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER line 1253 AND
    #define DOGLCD line 1101

    Gives following errors
    In file included from sketch\ultralcd.cpp:56:0:
    ultralcd_impl_DOGM.h:183: error: 'DOGLCD_CS' was not declared in this scope

    U8GLIB_DOGM128_2X u8g(DOGLCD_CS, DOGLCD_A0); // HW-SPI Com: CS, A0 // 4 stripes
    .................................................. ...............^
    ultralcd_impl_DOGM.h:183: error: 'DOGLCD_A0' was not declared in this scope

    U8GLIB_DOGM128_2X u8g(DOGLCD_CS, DOGLCD_A0); // HW-SPI Com: CS, A0 // 4 stripes
    .............................................^
    exit status 1
    'DOGLCD_CS' was not declared in this scope

    Programme will compile with either option if the other is commented out,BUT only provides a blank screen.

    IF I remove U8glib from the system then the compilation with #define DOGLCD fails, complaining of no U8glib, however compiling with #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER give no errors at all, which suggests that U8glib is not being used.
    Which would mean no display.

    I don't know whether the above is of any use to anyone with a better knowledge of Marlin than me?


    Barry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •