Results 111 to 120 of 172
-
11-29-2014, 11:13 AM #111
- Join Date
- Oct 2014
- Posts
- 114
-
11-29-2014, 11:53 AM #112
OK??? Because you have the #define ULTIPANEL active in your Configuration.h file????
Is it the:
//#define LCD_I2C_VIKI
Because that is commented out....Last edited by Roxy; 11-29-2014 at 12:21 PM.
-
11-29-2014, 01:44 PM #113
- Join Date
- Oct 2014
- Posts
- 114
Roxy, some of our machines use the ultipanel, and I usually leave it on since it has no inpact. I am using a viki, and have the viki uncommented. The viki needs to tabs LiquidTWI2.h /cpp .
I get the following error.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
In file included from ultralcd.cpp:38:
ultralcd_implementation_hitachi_HD44780.h:169: error: 'LiquidTWI2' does not name a type
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_init()':
ultralcd_implementation_hitachi_HD44780.h:308: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:308: error: 'LTI_TYPE_MCP23017' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_clear()':
ultralcd_implementation_hitachi_HD44780.h:336: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_printPGM(const char*)':
ultralcd_implementation_hitachi_HD44780.h:344: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_status_screen()':
ultralcd_implementation_hitachi_HD44780.h:404: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_generic(uint8_t, const char*, char, char)':
ultralcd_implementation_hitachi_HD44780.h:515: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic(u int8_t, const char*, char, char*)':
ultralcd_implementation_hitachi_HD44780.h:537: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic_P (uint8_t, const char*, char, const char*)':
ultralcd_implementation_hitachi_HD44780.h:559: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawedit(const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:610: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile_selected(uint8_ t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:624: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:644: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory_selected(u int8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:664: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:685: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_update_indicators()':
ultralcd_implementation_hitachi_HD44780.h:755: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'uint8_t lcd_implementation_read_slow_buttons()':
ultralcd_implementation_hitachi_HD44780.h:771: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_status_screen()':
ultralcd.cpp:192: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:192: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_main_menu()':
ultralcd.cpp:266: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:266: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_x()':
ultralcd.cpp:323: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:323: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_y()':
ultralcd.cpp:343: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:343: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_z()':
ultralcd.cpp:363: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:363: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_tune_menu()':
ultralcd.cpp:374: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:374: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_preheat_pla_menu()':
ultralcd.cpp:510: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:510: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_preheat_abs_menu()':
ultralcd.cpp:530: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:530: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_prepare_menu()':
ultralcd.cpp:560: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:560: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_x()':
ultralcd.cpp:618: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:618: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_y()':
ultralcd.cpp:648: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:648: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_z()':
ultralcd.cpp:678: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:678: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_e()':
ultralcd.cpp:703: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:703: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu_axis()':
ultralcd.cpp:713: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:713: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu()':
ultralcd.cpp:743: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:743: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_menu()':
ultralcd.cpp:754: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:754: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
ultralcd.cpp:781: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:781: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_pla_settings_menu( )':
ultralcd.cpp:816: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:816: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_abs_settings_menu( )':
ultralcd.cpp:831: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:831: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_motion_menu()':
ultralcd.cpp:846: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:846: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_sdcard_menu()':
ultralcd.cpp:941: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:941: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp:944: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:944: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_int3()':
ultralcd.cpp:1041: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1041: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_int3()':
ultralcd.cpp:1041: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1041: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float3()':
ultralcd.cpp:1042: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1042: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float3()':
ultralcd.cpp:1042: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1042: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float32()':
ultralcd.cpp:1043: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1043: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float32()':
ultralcd.cpp:1043: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1043: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float5()':
ultralcd.cpp:1044: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1044: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float5()':
ultralcd.cpp:1044: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1044: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float51()':
ultralcd.cpp:1045: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1045: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float51()':
ultralcd.cpp:1045: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1045: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float52()':
ultralcd.cpp:1046: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1046: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float52()':
ultralcd.cpp:1046: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1046: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_long5()':
ultralcd.cpp:1047: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1047: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_long5()':
ultralcd.cpp:1047: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1047: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_update()':
ultralcd.cpp:1252: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1252: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_buzz(long int, uint16_t)':
ultralcd.cpp:1415: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'bool lcd_clicked()':
ultralcd.cpp:1421: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1421: error: 'BUTTON_RIGHT' was not declared in this scope
-
11-29-2014, 02:57 PM #114
These errors can be fixed by going into your Pins.h file and making a small edit. At about line 2383 you should see a line that looks about like this. Add the // to make it look the same.
#define BEEPER 33 //No Beeper added
That will resolve these errors. But once you do that, you get a fresh bunch of errors:
#error ULTIPANEL requires an encoder
I don't use an LCD_Panel. But it looks like you need to tell it what kind of encoder you have on your panel????
-
11-29-2014, 03:05 PM #115
-
11-29-2014, 05:21 PM #116
- Join Date
- Oct 2014
- Posts
- 114
I get this error compiling with the two tabs added.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
In file included from ultralcd.cpp:38:
ultralcd_implementation_hitachi_HD44780.h:169: error: 'LiquidTWI2' does not name a type
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_init()':
ultralcd_implementation_hitachi_HD44780.h:308: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:308: error: 'LTI_TYPE_MCP23017' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_clear()':
ultralcd_implementation_hitachi_HD44780.h:336: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_printPGM(const char*)':
ultralcd_implementation_hitachi_HD44780.h:344: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_status_screen()':
ultralcd_implementation_hitachi_HD44780.h:404: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_generic(uint8_t, const char*, char, char)':
ultralcd_implementation_hitachi_HD44780.h:515: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic(u int8_t, const char*, char, char*)':
ultralcd_implementation_hitachi_HD44780.h:537: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic_P (uint8_t, const char*, char, const char*)':
ultralcd_implementation_hitachi_HD44780.h:559: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawedit(const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:610: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile_selected(uint8_ t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:624: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sdfile(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:644: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory_selected(u int8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:664: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_drawmenu_sddirectory(uint8_t, const char*, const char*, char*)':
ultralcd_implementation_hitachi_HD44780.h:685: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'void lcd_implementation_update_indicators()':
ultralcd_implementation_hitachi_HD44780.h:755: error: 'lcd' was not declared in this scope
/ultralcd_implementation_hitachi_HD44780.h: In function 'uint8_t lcd_implementation_read_slow_buttons()':
ultralcd_implementation_hitachi_HD44780.h:771: error: 'lcd' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd_implementation_hitachi_HD44780.h:773: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_status_screen()':
ultralcd.cpp:192: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:192: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_main_menu()':
ultralcd.cpp:266: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:266: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_x()':
ultralcd.cpp:323: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:323: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_y()':
ultralcd.cpp:343: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:343: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_babystep_z()':
ultralcd.cpp:363: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:363: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_tune_menu()':
ultralcd.cpp:374: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:374: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_preheat_pla_menu()':
ultralcd.cpp:510: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:510: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_preheat_abs_menu()':
ultralcd.cpp:530: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:530: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_prepare_menu()':
ultralcd.cpp:560: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:560: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_x()':
ultralcd.cpp:618: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:618: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_y()':
ultralcd.cpp:648: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:648: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_z()':
ultralcd.cpp:678: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:678: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_e()':
ultralcd.cpp:703: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:703: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu_axis()':
ultralcd.cpp:713: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:713: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_menu()':
ultralcd.cpp:743: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:743: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_menu()':
ultralcd.cpp:754: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:754: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
ultralcd.cpp:781: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:781: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_pla_settings_menu( )':
ultralcd.cpp:816: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:816: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_temperature_preheat_abs_settings_menu( )':
ultralcd.cpp:831: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:831: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_control_motion_menu()':
ultralcd.cpp:846: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:846: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_sdcard_menu()':
ultralcd.cpp:941: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:941: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp:944: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:944: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_int3()':
ultralcd.cpp:1041: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1041: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_int3()':
ultralcd.cpp:1041: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1041: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float3()':
ultralcd.cpp:1042: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1042: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float3()':
ultralcd.cpp:1042: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1042: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float32()':
ultralcd.cpp:1043: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1043: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float32()':
ultralcd.cpp:1043: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1043: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float5()':
ultralcd.cpp:1044: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1044: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float5()':
ultralcd.cpp:1044: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1044: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float51()':
ultralcd.cpp:1045: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1045: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float51()':
ultralcd.cpp:1045: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1045: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_float52()':
ultralcd.cpp:1046: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1046: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_float52()':
ultralcd.cpp:1046: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1046: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_long5()':
ultralcd.cpp:1047: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1047: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void menu_edit_callback_long5()':
ultralcd.cpp:1047: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1047: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_update()':
ultralcd.cpp:1252: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1252: error: 'BUTTON_RIGHT' was not declared in this scope
ultralcd.cpp: In function 'void lcd_buzz(long int, uint16_t)':
ultralcd.cpp:1415: error: 'lcd' was not declared in this scope
ultralcd.cpp: In function 'bool lcd_clicked()':
ultralcd.cpp:1421: error: 'BUTTON_SELECT' was not declared in this scope
ultralcd.cpp:1421: error: 'BUTTON_RIGHT' was not declared in this scope
-
11-29-2014, 05:55 PM #117
- Join Date
- Oct 2014
- Posts
- 114
ultralcd_implementation_hitachi_HD44780.h
I get it to compile with this tab from my standard firmware.
-
11-29-2014, 06:04 PM #118
- Join Date
- Oct 2014
- Posts
- 114
Roxy, I have a few things after the LCD which I would like to change and hope you can help me.
The issue that suddenly developed is still there, the z stop triggers the x & y. We got a work around with lifting z, and that is okay.
Now I would like to turn the servo line in conf h off, to avoid the pauses. But I would like to make z move up 2-3 mm after homing z to untrigger the z stop and therefore make it impossible to trigger x & y. ???
How is the M851 different to the z offset in eeprom. It will be lost after a restart or turn off of the machine.
Also, can slicer pre codes be implemented in the fw?
-
11-29-2014, 07:54 PM #119
Um, yeah. That file uses a different approach to include the liquidTWI2.h file. It'll search the directory with the rest of the source files (eg. tabs I guess). The standard Marlin file will expect liquidTWI2 to be installed in the Arduino libraries area - just what configuration.h says.
FOLLOWUP COMMENT: In configuration.h, uncommenting the #define for LCD_I2C_VIKI invokes a #define for LCD_I2C_TYPE_MC23017. Look for the ifdefs for that string in the two ultralcd_implementation_hitachi_HD44780.h files. The statement #include "LiquidTWI2.h" says search in the source directory first for this file, and then search in the libraries area. The Marlin statement #include <LiquidTWI2.h> says don't look in the source directory - just search the libraries area. Eric Zalm likely didn't want to include the LiquidTWI2 library as part of the Marlin distribution, perhaps because it is a third party library not unique to Marlin or the 3D printer application. There may be other more subtle differences between the two files - I didn't compare the details.Last edited by printbus; 11-30-2014 at 11:39 AM.
-
11-30-2014, 01:51 PM #120
- Join Date
- Oct 2014
- Posts
- 114
My 3D Norn Emissary print
09-13-2024, 02:28 AM in 3D Printing Gallery