Installing Full Graphic Smart Controller on Prusa i3 error


I am new to 3d printing. I just purchased and assembled a Prusa i3 hephestos. :slight_smile:

I also bought a RepRapDiscount Full Graphic Smart Controller that I want to install on my printer.

I have done the following:

Installing Arduino
Downloaded: File:Marlin - RepRap
Downloaded: Google Code Archive - Long-term storage for Google Code Project Hosting.


And (//) undefine all others in the // LCD and SD support

Added u8glib to the library.

Now I get the following error when uploading.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Mega 2560 or Mega ADK"
ultralcd.cpp: In function 'void config_lcd_level_bed()':
ultralcd.cpp:758: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'void lcd_level_bed_cooling()':
ultralcd.cpp:769: error: 'lcd' was not declared in this scope
ultralcd.cpp:791: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'void lcd_level_bed()':
ultralcd.cpp:800: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'void lcd_load_material_extrud_1()':
ultralcd.cpp:944: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'void lcd_unload_material_extrud_1()':
ultralcd.cpp:990: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'void lcd_init()':
ultralcd.cpp:1418: error: 'lcd' was not declared in this scope

Hope you can help me

from Denmark

Have the same problem
Already have contacted BQ


I had the same problem.

I added this lines at the top of the file "ultralcd.cpp":

#include "LiquidCrystalRus.h"
#define LCD_CLASS LiquidCrystalRus

It works fine for me.


BQ Prusa i3 Hephestos Reprap Full Graphic Smart Controller with XL Heat Bed

I still have the same problem i have tried almos everything...

Can anyone send me a working firmware that will work,

i have been going crazy the last two days trying to get this to work.

Help ::slight_smile:

I too had this issue. I bought the 'RepRapDiscount Full Graphic Smart Controller' card. I duly took out the comments for it in the configuration.h file and added the U8glib into the Arduino library but kept it coming up with the same error. I tried adding the above lines of code to the "ultralcd.cpp" but it didn't work no matter where I put them in. In the end I took out these additional lines of code (those above) and just used the original modifications that were recommended but the error returned. I studied the error and noticed this. The error occurred in the ultralcd.ccp file and the line of code that kept being highlighted was :-,freq);

which was part of this function -

void lcd_buzz(long duration, uint16_t freq)
#ifdef LCD_USE_I2C_BUZZER,freq);

The reason for the error was because the coding was wrong - the line ",freq);" should read "lcd_buzz(duration,freq);"

I changed this, saved it, shutdown arduino and restarted it. After loading up the Marlin the firmware compiled first time and my LCD screen now works.

I have taken so much info from the RepRap community I thought I would give something back.

Hope it helps someone out


Struggled for days with compilation errors, Andy dude many many thanks for your solution.
By the way are you a Christian?