Close



Page 9 of 18 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 172
  1. #81
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    This is what I get when trying to turn the Viki on.




    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_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

  2. #82
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    Roxy, I am struggling with the z offset. After abl, without homing I move to the center of the bed and get an M114, I get 3.13mm then I lower z to zero and get a good distance. But when now homing, the z moves up
    another 4mm and when doing an M114, I get 5.20mm (offset is -1.2mm). That is too far away to print, since it ads the 4mm of lift into the equation. If I change the z offset in the eeprom, it simply raises the z even higher.
    Yes, that is too far away to print. But it isn't going to try to print at that height. It knows the height of the nozzle. If the zero got set correctly and the Auto Bed Leveling matrix was generated... The nozzle will get lowered when the GCode file says G1 Z.25

    You might want to try that command by hand to verify that is what it does.

    Quote Originally Posted by Fri View Post
    I think the pauses in the g28 and g29 are a few mms to allow the servo to move the probe when equipped.
    Oh! That makes sense. It would be easy to eliminate that for you by just null-ing out the Z-Probe Engage and Retract functions. But lets not worry about that yet. Let's get it to print something in a reasonable fashion.

  3. #83
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    This is what I get when trying to turn the Viki on.

    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
    Let's turn off the UltraLCD panel until we can get it to print something in a reasonable fashion. Getting the panel going isn't going to be very difficult, but let's not add any complexity to what we have going on.

  4. #84
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quote Originally Posted by Roxy View Post
    Yes, that is too far away to print. But it isn't going to try to print at that height. It knows the height of the nozzle. If the zero got set correctly and the Auto Bed Leveling matrix was generated... The nozzle will get lowered when the GCode file says G1 Z.25

    You might want to try that command by hand to verify that is what it does.





    Oh! That makes sense. It would be easy to eliminate that for you by just null-ing out the Z-Probe Engage and Retract functions. But lets not worry about that yet. Let's get it to print something in a reasonable fashion.
    Roxy, no it it not, it is way to high, right after abl it is okay and I get the nozzle to contact the bed at z0.0, but after g28 it's the offset too high.

  5. #85
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Quick update, I tried another fw this am and when I reverted back the yours, it won't do the extra z lift anymore, but it will do the abl to eeprom. Also, it fixed the issue I had with the z stop triggering x and y. So as of right now, I can do a g28 after abl with the z stop triggered.....this is so weird, why do I get this irradical behavior? What could cause this?

  6. #86
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    Quick update, I tried another fw this am and when I reverted back the yours, it won't do the extra z lift anymore, but it will do the abl to eeprom. Also, it fixed the issue I had with the z stop triggering x and y. So as of right now, I can do a g28 after abl with the z stop triggered.....this is so weird, why do I get this irradical behavior? What could cause this?
    Did you clear the EEPROM? Try issuing an M499 to invalidate the EEPROM. That way it won't take any values from the EEPROM and will just use what is in your Configuration.h

  7. #87
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Just did that, same thing. It does not lift anymore after g28....wait, it does after g29.... I think I know why, I commented the //#define PROBE_SERVO_DEACTIVATION_DELAY 500 out, could this cause it?

  8. #88
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    Just did that, same thing. It does not lift anymore after g28....wait, it does after g29.... I think I know why, I commented the //#define PROBE_SERVO_DEACTIVATION_DELAY 500 out, could this cause it?
    I don't know the answer without digging in on that question. But even though you are not using a servo, I suggest you leave all that stuff alone because the #ifdef's that affect code generation do use those to make decisions about what code to include. We need to keep as close to my code base as possible until things are working. Making random changes makes it impossible for me to know what is there.

  9. #89
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    Okay, right now it is doing well. ABL is saved to eeprom and the offset is good. The g28 does not make an extra move up after homing z. At the end of g29 it moves up and untriggers the z sensor.
    Do you want me to uncomment the probe servro line?

  10. #90
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Fri View Post
    Do you want me to uncomment the probe servro line?
    Yes, that is safest... Let's get it to print and then we can tweak things.

Page 9 of 18 FirstFirst ... 7891011 ... 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
  •