Advertisement
Guest User

level

a guest
Jul 28th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. //Enable this to sample the bed in a grid (least squares solution)
  2. // Note: this feature generates 10KB extra code size
  3. //#define AUTO_BED_LEVELING_GRID
  4.  
  5. #ifdef AUTO_BED_LEVELING_GRID
  6.  
  7. #define LEFT_PROBE_BED_POSITION 85 //x1 (x1, y1) (x2,y1) (x2,y2) (x2, y2)
  8. #define RIGHT_PROBE_BED_POSITION 168 //x2
  9. #define FRONT_PROBE_BED_POSITION 20 //y1
  10. #define BACK_PROBE_BED_POSITION 190 //y2
  11.  
  12. #define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
  13.  
  14. // Set the number of grid points per dimension
  15. // You probably don't need more than 3 (squared=9)
  16. #define AUTO_BED_LEVELING_GRID_POINTS 3
  17.  
  18. #else // !AUTO_BED_LEVELING_GRID
  19.  
  20. // Arbitrary points to probe. A simple cross-product
  21. // is used to estimate the plane of the bed.
  22. #define ABL_PROBE_PT_1_X 15
  23. #define ABL_PROBE_PT_1_Y 180
  24. #define ABL_PROBE_PT_2_X 15
  25. #define ABL_PROBE_PT_2_Y 20
  26. #define ABL_PROBE_PT_3_X 170
  27. #define ABL_PROBE_PT_3_Y 20
  28.  
  29. #endif // AUTO_BED_LEVELING_GRID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement