My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cutter.h 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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. //
  24. // lcd/dogm/status/cutter.h - Status Screen Laser / Spindle bitmaps
  25. //
  26. #define STATUS_CUTTER_WIDTH 24
  27. #define STATUS_CUTTER_X 80
  28. #if ENABLED(LASER_FEATURE)
  29. #ifdef STATUS_CUTTER_ANIM
  30. const unsigned char status_cutter_on_bmp[] PROGMEM = {
  31. B00000000,B00100100,B00000000,
  32. B00000000,B01100110,B00000000,
  33. B00000000,B11000011,B00000000,
  34. B00000001,B10011001,B10000000,
  35. B00000011,B00100100,B11000000,
  36. B00000000,B01000010,B00000000,
  37. B00000000,B01000010,B00000000,
  38. B00000011,B00100100,B11000000,
  39. B00000001,B10011001,B10000000,
  40. B00000000,B11000011,B00000000,
  41. B00000000,B01100110,B00000000,
  42. B00000000,B00100100,B00000000
  43. };
  44. const unsigned char status_cutter_bmp[] PROGMEM = {
  45. B00000000,B00100100,B00000000,
  46. B00000000,B01100110,B00000000,
  47. B00000000,B00000000,B00000000,
  48. B00000001,B00000000,B10000000,
  49. B00000011,B00000000,B11000000,
  50. B00000000,B00011000,B00000000,
  51. B00000000,B00011000,B00000000,
  52. B00000011,B00000000,B11000000,
  53. B00000001,B00000000,B10000000,
  54. B00000000,B00000000,B00000000,
  55. B00000000,B01100110,B00000000,
  56. B00000000,B00100100,B00000000
  57. };
  58. #else
  59. const unsigned char status_cutter_bmp[] PROGMEM = {
  60. B00000000,B00100100,B00000000,
  61. B00000000,B01100110,B00000000,
  62. B00000000,B11000011,B00000000,
  63. B00000001,B10000001,B10000000,
  64. B00000011,B00000000,B11000000,
  65. B00000000,B00000000,B00000000,
  66. B00000000,B00000000,B00000000,
  67. B00000011,B00000000,B11000000,
  68. B00000001,B10000001,B10000000,
  69. B00000000,B11000011,B00000000,
  70. B00000000,B01100110,B00000000,
  71. B00000000,B00100100,B00000000
  72. };
  73. #endif
  74. #else
  75. #ifdef STATUS_CUTTER_ANIM
  76. const unsigned char status_cutter_on_bmp[] PROGMEM = {
  77. B00000001,B11111110,B10000000,
  78. B00000000,B11000000,B00000000,
  79. B00000001,B10000000,B10000000,
  80. B00000001,B00000000,B10000000,
  81. B00000001,B11111100,B10000000,
  82. B00000000,B11100000,B00000000,
  83. B00000001,B11000000,B10000000,
  84. B00000000,B10000001,B00000000,
  85. B00000000,B01111010,B00000000,
  86. B00000000,B00110100,B00000000,
  87. B00000000,B00011000,B00000000,
  88. B00000000,B00000000,B00000000
  89. };
  90. const unsigned char status_cutter_bmp[] PROGMEM = {
  91. B00000001,B11111110,B10000000,
  92. B00000000,B11000000,B00000000,
  93. B00000001,B10000000,B10000000,
  94. B00000001,B00000000,B10000000,
  95. B00000001,B11111100,B10000000,
  96. B00000000,B11100000,B00000000,
  97. B00000001,B11000000,B10000000,
  98. B00000000,B10000001,B00000000,
  99. B00000000,B01111010,B00000000,
  100. B00000000,B00110100,B00000000,
  101. B00000000,B00011000,B00000000,
  102. B00000000,B00000000,B00000000
  103. };
  104. #else
  105. const unsigned char status_cutter_bmp[] PROGMEM = {
  106. B00000001,B11000010,B10000000,
  107. B00000001,B00011100,B10000000,
  108. B00000000,B11100001,B00000000,
  109. B00000001,B00001110,B10000000,
  110. B00000001,B01110000,B10000000,
  111. B00000000,B10000111,B10000000,
  112. B00000001,B00111111,B10000000,
  113. B00000000,B11111111,B00000000,
  114. B00000000,B01111110,B00000000,
  115. B00000000,B00111100,B00000000,
  116. B00000000,B00011000,B00000000,
  117. B00000000,B00000000,B00000000
  118. };
  119. #endif
  120. #endif