_Statusscreen.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. * Use the Marlin Bitmap Converter to make your own:
  30. * https://marlinfw.org/tools/u8glib/converter.html
  31. */
  32. //
  33. // Status Screen Logo bitmap
  34. //
  35. #define STATUS_LOGO_Y 5
  36. #define STATUS_LOGO_WIDTH 39
  37. const unsigned char status_logo_bmp[] PROGMEM = {
  38. B00000000,B00000000,B00000110,B00000000,B00000000,
  39. B11111110,B00000000,B00000010,B00000000,B00000000,
  40. B01000010,B00000000,B00000010,B00000000,B00000000,
  41. B01001000,B00000000,B00000010,B00000000,B00000000,
  42. B01001000,B11011100,B00111110,B00111100,B11101110,
  43. B01111000,B01100010,B01000010,B01000010,B00110010,
  44. B01001000,B01000010,B01000010,B01000010,B00100000,
  45. B01001000,B01000010,B01000010,B01111110,B00100000,
  46. B01000000,B01000010,B01000010,B01000000,B00100000,
  47. B01000010,B01000010,B01000110,B01000010,B00100000,
  48. B11111110,B11100111,B00111011,B00111100,B11111000
  49. };
  50. //
  51. // Use default bitmaps
  52. //
  53. #define STATUS_HOTEND_ANIM
  54. #define STATUS_BED_ANIM
  55. #define STATUS_HEATERS_XSPACE 20
  56. #if HOTENDS < 2
  57. #define STATUS_HEATERS_X 48
  58. #define STATUS_BED_X 72
  59. #else
  60. #define STATUS_HEATERS_X 40
  61. #define STATUS_BED_X 80
  62. #endif