Close



Page 12 of 18 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 172
  1. #111
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quote Originally Posted by Roxy View Post
    There is something funny going on with the C++ Pre-Processor. It is having trouble doing casts on the BEEPER token. And it is defined properly in Pins.h as 36. I have to run out the door. How about you revert back to your previous firmware until I figure out how to convince Arduino that the code is OK? Incidentally... The code it is barfing on hasn't been changed from the main branch of the tree and has been in there since the UltiPanel was released. So it is a little strange it is having issues with it now. There must be something else factoring into the equation.
    Okay no sweat....btw I am using a Viki, not ultipanel if this makes a difference, and I don't need it to run the machine.

  2. #112
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    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.

  3. #113
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quote Originally Posted by Roxy View Post
    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....
    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

  4. #114
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    Here is the error when compiling after above changes.


    Marlin_main.cpp:3404:35: error: missing binary operator before token "No"
    Marlin_main.cpp:3836:15: error: missing binary operator before token "No"
    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????

  5. #115
    Staff Engineer printbus's Avatar
    Join Date
    May 2014
    Location
    Highlands Ranch, Colorado USA
    Posts
    1,437
    Add printbus on Thingiverse
    Quote Originally Posted by Fri View Post
    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...
    Looks to me like the liquidTWI2 files are missing per the comments for Viki in the configuration.h file. I get the same errors when I try to do a test compile without first adding the liquidTWI2 files.
    Last edited by printbus; 11-29-2014 at 03:26 PM.

  6. #116
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quote Originally Posted by Roxy View Post
    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????
    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

  7. #117
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    ultralcd_implementation_hitachi_HD44780.h

    I get it to compile with this tab from my standard firmware.

  8. #118
    Technologist
    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?

  9. #119
    Staff Engineer printbus's Avatar
    Join Date
    May 2014
    Location
    Highlands Ranch, Colorado USA
    Posts
    1,437
    Add printbus on Thingiverse
    Quote Originally Posted by Fri View Post
    ultralcd_implementation_hitachi_HD44780.h

    I get it to compile with this tab from my standard firmware.
    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.

  10. #120
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quote Originally Posted by printbus View Post
    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.

    So where would I have to save the files in order to get this to work?

Page 12 of 18 FirstFirst ... 21011121314 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •