My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

chamber.h 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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/chamber.h - Status Screen Chamber bitmaps
  25. //
  26. #define STATUS_CHAMBER_WIDTH 21
  27. #if STATUS_HEATERS_WIDTH
  28. #if ENABLED(STATUS_COMBINE_HEATERS)
  29. #define STATUS_CHAMBER_X (LCD_PIXEL_WIDTH - 2 - (STATUS_CHAMBER_BYTEWIDTH) * 8)
  30. #elif HAS_FAN0 && HAS_HEATED_BED && HOTENDS <= 2
  31. #define STATUS_CHAMBER_X (LCD_PIXEL_WIDTH - 2 - (STATUS_HEATERS_BYTEWIDTH - STATUS_CHAMBER_BYTEWIDTH) * 8)
  32. #elif HAS_FAN0 && !HAS_HEATED_BED
  33. #define STATUS_CHAMBER_X (LCD_PIXEL_WIDTH - (STATUS_CHAMBER_BYTEWIDTH + STATUS_FAN_BYTEWIDTH) * 8)
  34. #else
  35. #define STATUS_CHAMBER_X (LCD_PIXEL_WIDTH - (STATUS_CHAMBER_BYTEWIDTH) * 8)
  36. #endif
  37. #endif
  38. #ifdef STATUS_CHAMBER_ANIM
  39. const unsigned char status_chamber_bmp[] PROGMEM = {
  40. B00011111,B11111111,B11111000,
  41. B00010000,B00000000,B00001000,
  42. B00010000,B00000000,B00001000,
  43. B00010000,B00000000,B00001000,
  44. B00010000,B00000000,B00001000,
  45. B00010000,B00000000,B00001000,
  46. B00010000,B00000000,B00001000,
  47. B00010000,B00000000,B00001000,
  48. B00010000,B00000000,B00001000,
  49. B00010000,B00000000,B00001000,
  50. B00011111,B11111111,B11111000,
  51. B00011111,B11111111,B11111000
  52. };
  53. const unsigned char status_chamber_on_bmp[] PROGMEM = {
  54. B00011111,B11111111,B11111000,
  55. B00010000,B00000000,B00001000,
  56. B00010000,B10000100,B00001000,
  57. B00010000,B01000010,B00001000,
  58. B00010000,B01000010,B00001000,
  59. B00010000,B10000100,B00001000,
  60. B00010001,B00001000,B00001000,
  61. B00010001,B00001000,B00001000,
  62. B00010000,B10000100,B00001000,
  63. B00010000,B00000000,B00001000,
  64. B00011111,B11111111,B11111000,
  65. B00011111,B11111111,B11111000
  66. };
  67. #else
  68. const unsigned char status_chamber_bmp[] PROGMEM = {
  69. B00011111,B11111111,B11111000,
  70. B00010000,B00000000,B00001000,
  71. B00010000,B10000100,B00001000,
  72. B00010000,B01000010,B00001000,
  73. B00010000,B01000010,B00001000,
  74. B00010000,B10000100,B00001000,
  75. B00010001,B00001000,B00001000,
  76. B00010001,B00001000,B00001000,
  77. B00010000,B10000100,B00001000,
  78. B00010000,B00000000,B00001000,
  79. B00011111,B11111111,B11111000,
  80. B00011111,B11111111,B11111000
  81. };
  82. #endif