Welcome! Log In Create A New Profile

Advanced

Graphical LCD

Posted by maverickcnc 
Graphical LCD
February 17, 2014 08:53PM
First full build. I am currently working on a prusa i3 dual extruder. got it up and running pretty well.

The Question I have is this. I have a graphical lcd screen running on it. I am running the makerfarm firmware for the i3. I was wondering if there was a way for me to replace the makerfarm names that appear on the display with my own names . Ok a little mean removing makerfarm I know but I wanna see my name on a machine that I have built not theirs.

Thanks
Re: Graphical LCD
February 18, 2014 02:28AM
Just do a text search on the firmware for what you want to replace. Might take a bit of searching but should be difficult.
Re: Graphical LCD
February 19, 2014 12:19AM
Look in the language.h file, not100% sure,but i think it is in there.
Re: Graphical LCD
February 19, 2014 02:29AM
Hi,
the variable you are looking for is in configuration.h:
// Define this to set a custom name for your generic Mendel,
// #define CUSTOM_MENDEL_NAME "This Mendel"

In language.h
#ifdef CUSTOM_MENDEL_NAME
#define MACHINE_NAME CUSTOM_MENDEL_NAME
#else
#define MACHINE_NAME "Mendel"
#endif
If you donĀ“t define a Custom Name, "Mendel" is used.

In dogm_lcd_implementation.h you could also modify:
u8g.firstPage();
do {
// RepRap init bmp
u8g.drawBitmapP(0,0,START_BMPBYTEWIDTH,START_BMPHEIGHT,start_bmp);
// Welcome message
u8g.setFont(u8g_font_6x10_marlin);
u8g.drawStr(62,10,"MARLIN");
u8g.setFont(u8g_font_5x8);
u8g.drawStr(62,19,"V1.0.0 RC2-mm");
u8g.setFont(u8g_font_6x10_marlin);
u8g.drawStr(62,28,"by ErikZalm");
u8g.drawStr(62,41,"DOGM128 LCD");
u8g.setFont(u8g_font_5x8);
u8g.drawStr(62,48,"enhancements");
u8g.setFont(u8g_font_5x8);
u8g.drawStr(62,55,"by STB, MM");
u8g.drawStr(62,61,"uses u");
u8g.drawStr90(92,57,"8");
u8g.drawStr(100,61,"glib");
} while( u8g.nextPage() );
}

I hope that helps!

Manu
Sorry, only registered users may post in this forum.

Click here to login