Welcome! Log In Create A New Profile

Advanced

Marlin 2.0 with 12864WZ-10 LCD?

Posted by SpainNERD 
Marlin 2.0 with 12864WZ-10 LCD?
December 05, 2018 05:31PM
Hi all,


Any insight into getting the 12864 LCD working with Marlin 2.0? I'm running this on the FYSETC F6 1.3 board... Marlin 1.1.9 seems to work correctly for this LCD.

Thanks!

JM
Re: Marlin 2.0 with 12864WZ-10 LCD?
December 06, 2018 03:08PM
Looks like I might have inadvertently delete the rest of the text, this is the output I get:

Sketch/src/lcd/dogm/lcdprint_u8g.cpp: In function 'int lcd_put_wchar_max(uint32_t, pixel_len_t)':
sketch/src/lcd/dogm/lcdprint_u8g.cpp:36:24: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'
   unsigned int x = u8g.getPrintCol(),
                        ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:39:23: error: 'ret' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                       ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:39:28: error: 'y' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                            ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max(const char*, pixel_len_t)':
sketch/src/lcd/dogm/lcdprint_u8g.cpp:45:24: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'
   unsigned int x = u8g.getPrintCol(),
                        ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:48:23: error: 'ret' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                       ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:48:28: error: 'y' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                            ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp: In function 'int lcd_put_u8str_max_P(const char*, pixel_len_t)':
sketch/src/lcd/dogm/lcdprint_u8g.cpp:53:24: error: 'class U8GLIB_ST7920_128X64_RRD' has no member named 'getPrintCol'
   unsigned int x = u8g.getPrintCol(),
                        ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:56:23: error: 'ret' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                       ^
sketch/src/lcd/dogm/lcdprint_u8g.cpp:56:28: error: 'y' was not declared in this scope
   u8g.setPrintPos(x + ret, y);
                            ^
exit status 1
Error compiling for board FYSETC_F6.
This only happens when I enable REPRAP LCD
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

I hope get more help on this. Thanks!

Edited 1 time(s). Last edit at 12/06/2018 03:22PM by SpainNERD.
Re: Marlin 2.0 with 12864WZ-10 LCD?
December 07, 2018 09:37AM
Quick Update, Just realised that I had downgraded the U8GLIB while compiling another sketch. All running now on 1.19.1 version of the U8GLiG!

Let's see... time to play with the TMC2130 and see the features in action-- I'm sure I'll break something else!

Thanks for looking!
Sorry, only registered users may post in this forum.

Click here to login