I have a Kossel mini, I set up the LCD and all went well everything worked SD support all good.
I went to bed, woke up this morning and went to change the delta radius settings and all of a sudden, the bloody thing does not like the LCD.
I was uploading and making changes to printer settings not LCD.
This is the error I get, it compiles ok if I remove #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Someone please tell me I'm not crazy....
Regards Pete
Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from ultralcd.cpp:77:0:
dogm_lcd_implementation.h: In function 'void lcd_implementation_status_screen()':
dogm_lcd_implementation.h:405: error: 'current_position' was not declared in this scope
lcd_print(ftostr4sign(current_position[X_AXIS]));
^
ultralcd.cpp: In function 'void line_to_current(AxisEnum)':
ultralcd.cpp:467: error: 'current_position' was not declared in this scope
calculate_delta(current_position);
^
ultralcd.cpp: In function 'void _lcd_move(const char*, AxisEnum, float, float)':
ultralcd.cpp:1198: error: 'current_position' was not declared in this scope
current_position[axis] += float((int32_t)encoderPosition) * move_menu_scale;
^
ultralcd.cpp:1205: error: 'current_position' was not declared in this scope
if (lcdDrawUpdate) lcd_implementation_drawedit(name, ftostr31(current_position[axis]));
^
ultralcd.cpp: In function 'void lcd_move_x()':
ultralcd.cpp:1211: error: 'current_position' was not declared in this scope
static void lcd_move_x() { int clip = delta_clip(current_position[Y_AXIS]); _lcd_move(PSTR(MSG_MOVE_X), X_AXIS, max(sw_endstop_min[X_AXIS], -clip), min(sw_endstop_max[X_AXIS], clip)); }
^
ultralcd.cpp: In function 'void lcd_move_y()':
ultralcd.cpp:1212: error: 'current_position' was not declared in this scope
static void lcd_move_y() { int clip = delta_clip(current_position[X_AXIS]); _lcd_move(PSTR(MSG_MOVE_Y), Y_AXIS, max(sw_endstop_min[Y_AXIS], -clip), min(sw_endstop_max[Y_AXIS], clip)); }
^
ultralcd.cpp: In function 'void lcd_move_e()':
ultralcd.cpp:1229: error: 'current_position' was not declared in this scope
current_position[E_AXIS] += float((int32_t)encoderPosition) * move_menu_scale;
^
ultralcd.cpp:1250: error: 'current_position' was not declared in this scope
lcd_implementation_drawedit(pos_label, ftostr31(current_position[E_AXIS]));
^
'current_position' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.