My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

DGUS_Constants.h 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. #include "../../../../inc/MarlinConfigPre.h"
  24. #include "DGUS_Addr.h"
  25. static_assert((DGUS_LEVEL_GRID_SIZE == GRID_MAX_POINTS_X * GRID_MAX_POINTS_Y), "DGUS_LEVEL_GRID_SIZE incompatible with current mesh.");
  26. #ifndef DGUS_DEFAULT_VOLUME
  27. #define DGUS_DEFAULT_VOLUME 50
  28. #endif
  29. #ifndef DGUS_DEFAULT_BRIGHTNESS
  30. #define DGUS_DEFAULT_BRIGHTNESS 100
  31. #endif
  32. #ifndef DGUS_STATUS_EXPIRATION_MS
  33. #define DGUS_STATUS_EXPIRATION_MS 30000
  34. #endif
  35. #ifndef DGUS_PRINT_BABYSTEP
  36. #define DGUS_PRINT_BABYSTEP 0.01f
  37. #endif
  38. #ifndef DGUS_PLA_TEMP_HOTEND
  39. #define DGUS_PLA_TEMP_HOTEND 200
  40. #endif
  41. #ifndef DGUS_PLA_TEMP_BED
  42. #define DGUS_PLA_TEMP_BED 60
  43. #endif
  44. #ifndef DGUS_ABS_TEMP_HOTEND
  45. #define DGUS_ABS_TEMP_HOTEND 240
  46. #endif
  47. #ifndef DGUS_ABS_TEMP_BED
  48. #define DGUS_ABS_TEMP_BED 80
  49. #endif
  50. #ifndef DGUS_PETG_TEMP_HOTEND
  51. #define DGUS_PETG_TEMP_HOTEND 240
  52. #endif
  53. #ifndef DGUS_PETG_TEMP_BED
  54. #define DGUS_PETG_TEMP_BED 60
  55. #endif
  56. #ifndef DGUS_DEFAULT_FILAMENT_LEN
  57. #define DGUS_DEFAULT_FILAMENT_LEN 10
  58. #endif
  59. #ifndef BED_TRAMMING_Z_HOP
  60. #define BED_TRAMMING_Z_HOP 4.0
  61. #endif
  62. #ifndef BED_TRAMMING_HEIGHT
  63. #define BED_TRAMMING_HEIGHT 0.0
  64. #endif
  65. static_assert(BED_TRAMMING_Z_HOP >= 0, "BED_TRAMMING_Z_HOP must be >= 0. Please update your configuration.");
  66. #ifndef DGUS_LEVEL_CENTER_X
  67. #define DGUS_LEVEL_CENTER_X ((X_BED_SIZE) / 2)
  68. #endif
  69. #ifndef DGUS_LEVEL_CENTER_Y
  70. #define DGUS_LEVEL_CENTER_Y ((Y_BED_SIZE) / 2)
  71. #endif
  72. #if ENABLED(BLTOUCH)
  73. #ifndef DGUS_RESET_BLTOUCH
  74. #define DGUS_RESET_BLTOUCH "M999\nM280P0S160"
  75. #endif
  76. #endif