Welcome! Log In Create A New Profile

Advanced

LCD control Marlin firmware HELP

Posted by Thijs_3d 
LCD control Marlin firmware HELP
May 31, 2016 04:11PM
I am building my own 3d printer, and now i am in the process of programming.
I use the marlin 1.0.2-1 firmware and i want to use a graphical display, when choosing the
DOGLCD display i get an error when compiling that says:
Arduino: 1.6.9 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\Marlin_main.cpp:2667:36: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

^

sketch\Marlin_main.cpp: In function 'void process_commands()':

Marlin_main.cpp:3276: error: 'lcd_setcontrast' was not declared in this scope

lcd_setcontrast( ((int)code_value())&63 );

^

In file included from sketch\Marlin_main.cpp:30:0:

Marlin_main.cpp:3279: error: 'lcd_contrast' was not declared in this scope

SERIAL_PROTOCOL(lcd_contrast);

^

sketch\Marlin.h:65:44: note: in definition of macro 'SERIAL_PROTOCOL'

#define SERIAL_PROTOCOL(x) (MYSERIAL.print(x))

^

Meerdere bibliotheken gevonden voor "U8glib.h"
Gebruikt: C:\Program Files (x86)\Arduino\libraries\U8glib
Niet gebruikt: C:\Users\Samsung\Documents\Arduino\libraries\U8glib_Arduino-master
exit status 1
'lcd_setcontrast' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

What am I doing wrong ?

Sincerely,

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

Click here to login