help needed with old ender-2 display #1491
-
Hi :) I'm trying to use old display from the Ender-2 printer, but can't figure out which constructor type I should use for it. To track the model of the display, I've dug into Marlin firmware (which uses old u8glib library) - it's described as "ENDER2_STOCKDISPLAY". First mention I found is in "ultralcd_DOG.h" file, where I found "#define U8G_CLASS U8GLIB_MINI12864_2X_HAL". This pointed me to the "HAL_LCD_class_defines.h", where "U8GLIB_MINI12864_2X_HAL" class is defined. I've also found "u8g_dev_uc1701_mini_12864_HAL.cpp" with implementation (?) of this display. Is there any chance to re-use the code from Marlin src with u8g2 or u8glib to use this display? Or maybe it's already included? PS: sorry if this is lame question - not a programmer, just trying to put all those pieces together and make it work... :D |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
UPDATE: Ok, that old Marlin source misleaded me. Display works perfectly with U8G2_UC1701_MINI12864_F_4W_HW_SPI constructor :) (but it won't work in old library u8glib). |
Beta Was this translation helpful? Give feedback.
UPDATE: Ok, that old Marlin source misleaded me. Display works perfectly with U8G2_UC1701_MINI12864_F_4W_HW_SPI constructor :) (but it won't work in old library u8glib).