Skip to content

Commit

Permalink
Delta segments per second
Browse files Browse the repository at this point in the history
  • Loading branch information
João Martins committed May 7, 2016
1 parent d09b050 commit af00786
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
// Make delta curves from many straight lines (linear interpolation).
// This is a trade-off between visible corners (not enough segments)
// and processor overload (too many expensive sqrt calls).
#define DELTA_SEGMENTS_PER_SECOND 80
#define DELTA_SEGMENTS_PER_SECOND 160

// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them

Expand Down Expand Up @@ -641,7 +641,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
// (0,0)
#define X_PROBE_OFFSET_FROM_EXTRUDER -13 // X offset: -left +right [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER -4 // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.2 // Z offset: -below +above [the nozzle] Increase value if after leveling the nozzle is too high from bed
#define Z_PROBE_OFFSET_FROM_EXTRUDER -0.9 // Z offset: -below +above [the nozzle] Increase value if after leveling the nozzle is too high from bed

#define XY_TRAVEL_SPEED 6000 // X and Y axis travel speed between probes, in mm/min.

Expand Down
11 changes: 11 additions & 0 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@

#include "Conditionals.h"

// @section delta_optimization

//===========================================================================
//=========================== DELTA OPTIMIZATION ===========================
//===========================================================================

// There is suttering when the LCD is updated. A workaround is to slow down the
// number of screen updates per second. By default the LCD refreshes 10 times per second.
// This value should be between 1 and 10
#define LCD_REFRESH_TIMES_PER_SECOND 5

// @section temperature

//===========================================================================
Expand Down
6 changes: 5 additions & 1 deletion Marlin/ultralcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@
#define LCD_MESSAGEPGM(x) lcd_setstatuspgm(PSTR(x))
#define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatuspgm(PSTR(x))

#define LCD_UPDATE_INTERVAL 100
#ifndef LCD_REFRESH_TIMES_PER_SECOND
#define LCD_REFRESH_TIMES_PER_SECOND 10
#endif

#define LCD_UPDATE_INTERVAL 1000 / LCD_REFRESH_TIMES_PER_SECOND
#define LCD_TIMEOUT_TO_STATUS 15000

#if ENABLED(ULTIPANEL)
Expand Down

0 comments on commit af00786

Please sign in to comment.