_Statusscreen.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 3
  36. #define STATUS_LOGO_WIDTH 24
  37. const unsigned char status_logo_bmp[] PROGMEM = {
  38. B11111111,B11111111,B11111111,
  39. B10000000,B00000000,B00000001,
  40. B10001110,B00000000,B11100001,
  41. B10011111,B00000001,B11110001,
  42. B10010011,B10000001,B00111001,
  43. B10011111,B10000001,B11111001,
  44. B10011111,B10000001,B11111001,
  45. B10011111,B10111001,B11111001,
  46. B10001111,B00101000,B11110001,
  47. B10000000,B00111000,B00000001,
  48. B10000000,B00000000,B00000001,
  49. B10011111,B11111111,B11111001,
  50. B10010001,B01110100,B10011001,
  51. B10011011,B00000110,B10101001,
  52. B10011011,B01010100,B10101001,
  53. B10011011,B01010110,B10101001,
  54. B10011011,B01010100,B10011001,
  55. B10011111,B11111111,B11111001,
  56. B11111111,B11111111,B11111111
  57. };
  58. //
  59. // Use default bitmaps
  60. //
  61. #define STATUS_HOTEND_ANIM
  62. #define STATUS_BED_ANIM
  63. #if HOTENDS < 2
  64. #define STATUS_LOGO_X 8
  65. #define STATUS_HEATERS_X 40
  66. #define STATUS_BED_X 72
  67. #else
  68. #define STATUS_LOGO_X 0
  69. #define STATUS_HEATERS_X 32
  70. #define STATUS_BED_X 80
  71. #endif