repetier / Repetier-Firmware

Firmware for Arduino based RepRap 3D printer.
815 stars 734 forks source link

RepRapDiscount Graphic LCD support? Feature request #106

Open seemecnc opened 11 years ago

seemecnc commented 11 years ago

Roland, have you seen the new RepRapDiscount Full Graphic LCD? How hard would it be to implement it in the firmware? They have a marlin firmware file downloadable from their site, and looking at it briefly, there's a lot going on to just add a logo to the side of the screen?

Thanks in advance, John Oly SeeMeCNC

repetier commented 11 years ago

Hi,

yes i have seen it. In fact he donated one to me and send it hopefully today,so i should get it this or next week. Then I see how it goes. When I'm right it requires 1kb ram to store the graphic in ram and each full screen image an additional kb in flash memory to copy. It might be a memory problem with the delta printer, because the delta printer also needs extra memory for he path planning. More then cartesian printer because of the nonlinear behaviour. But we will see what is possible. With the logo we will see. I think what i will do is design one start screen. So one could could exchange the bitmap to add a logo where some space is left. I can. say more, when i have programmed the display.

Yours Roland

Von meinem iPad gesendet

Am 06.05.2013 um 23:56 schrieb John Oly notifications@github.com:

Roland, have you seen the new RepRapDiscount Full Graphic LCD? How hard would it be to implement it in the firmware? They have a marlin firmware file downloadable from their site, and looking at it briefly, there's a lot going on to just add a logo to the side of the screen?

Thanks in advance, John Oly SeeMeCNC

— Reply to this email directly or view it on GitHub.

cyrus104 commented 10 years ago

Roland,

I was looking back through this and I see that there is the FEATURE_CONTROLLER 11 option in .91 firmware. I have a Rambo board and changed the ui.h pins on line 489-504 to match but haven't been able to get the display to come up only the encoder/beeper/sdcard are working.

Thanks

repetier commented 10 years ago

I have no RAMBO board for testing, but GLCD is initialized like this: u8g_InitSPI(&u8g,&u8g_dev_st7920_128x64_sw_spi, UI_DISPLAY_D4_PIN, UI_DISPLAY_ENABLE_PIN, UI_DISPLAY_RS_PIN, U8G_PIN_NONE, U8G_PIN_NONE);

(ui.cpp line 704)

So only UI_DISPLAY_D4_PIN,UI_DISPLAY_ENABLE_PIN, UI_DISPLAY_RS_PIN have to match. As a test you can also enter ids directly there, in case they get somewhere else changed. But from what I see you are changing the correct pins. The library uses software SPI so pin number is also not relevant as long as they match.