_Statusscreen.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. * Custom Status Screen bitmap
  25. *
  26. * Place this file in the root with your configuration files
  27. * and enable CUSTOM_STATUS_SCREEN_IMAGE in Configuration.h.
  28. */
  29. //
  30. // Status Screen Logo bitmap
  31. //
  32. #define STATUS_LOGO_Y 3
  33. #define STATUS_LOGO_WIDTH 24
  34. /**
  35. * Made with Marlin Bitmap Converter
  36. * https://marlinfw.org/tools/u8glib/converter.html
  37. *
  38. * This bitmap from the file '3dpc_tech_statusscreen.bmp'
  39. */
  40. const unsigned char status_logo_bmp[] PROGMEM = {
  41. B11111111,B11111111,B11111111,
  42. B11111111,B00000000,B11111111,
  43. B11111100,B00000000,B00111111,
  44. B11110000,B00000000,B00001111,
  45. B11100000,B00000000,B00000111,
  46. B11100000,B00000000,B00000111,
  47. B11000000,B00000000,B00000011,
  48. B10011101,B11001110,B00110001,
  49. B10010101,B10101111,B01101001,
  50. B10010101,B10101101,B01101001,
  51. B10000101,B10101101,B01100001,
  52. B10001101,B10101111,B01100001,
  53. B10010101,B10101100,B01100001,
  54. B10010101,B10101100,B01101001,
  55. B10010101,B10101100,B01101001,
  56. B10011101,B11001100,B00110001,
  57. B10000000,B00000000,B00000001,
  58. B11000000,B00000001,B11111011,
  59. B11100000,B00000000,B00000111,
  60. B11100000,B00000000,B00000111,
  61. B11110000,B00000000,B00001111,
  62. B11111100,B00000000,B00111111,
  63. B11111110,B01101100,B01111111,
  64. B11111111,B11111111,B11111111
  65. };
  66. //
  67. // Use default bitmaps
  68. //
  69. #define STATUS_HOTEND_ANIM
  70. #define STATUS_BED_ANIM
  71. #if HOTENDS < 2
  72. #define STATUS_LOGO_X 8
  73. #define STATUS_HEATERS_X 40
  74. #define STATUS_BED_X 72
  75. #else
  76. #define STATUS_LOGO_X 0
  77. #define STATUS_HEATERS_X 32
  78. #define STATUS_BED_X 80
  79. #endif