_Statusscreen.h 1.9 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_X 8
  36. #define STATUS_LOGO_Y 5
  37. #define STATUS_LOGO_WIDTH 22
  38. const unsigned char status_logo_bmp[] PROGMEM = {
  39. B00111110,B00001111,B11110000,
  40. B11000001,B10000110,B00011000,
  41. B11000001,B10000110,B00001100,
  42. B00000001,B10000110,B00000100,
  43. B00000011,B00000110,B00000100,
  44. B00011111,B00000110,B00000100,
  45. B00000011,B00000110,B00000100,
  46. B00000001,B10000110,B00000100,
  47. B11000001,B10000110,B00001100,
  48. B11000001,B10000110,B00011000,
  49. B00111110,B00001111,B11110000
  50. };
  51. //
  52. // Use default bitmaps
  53. //
  54. #define STATUS_HOTEND_ANIM
  55. #define STATUS_BED_ANIM
  56. #if HOTENDS < 2
  57. #define STATUS_HEATERS_X 40
  58. #define STATUS_BED_X 72
  59. #else
  60. #define STATUS_HEATERS_X 32
  61. #define STATUS_BED_X 80
  62. #endif