_Statusscreen.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2019 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 <http://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. * http://marlinfw.org/tools/u8glib/converter.html
  31. */
  32. //
  33. // Status Screen Logo bitmap
  34. //
  35. #define STATUS_LOGO_Y 4
  36. #define STATUS_LOGO_WIDTH 21
  37. const unsigned char status_logo_bmp[] PROGMEM = {
  38. B00000000,B00011110,B00000000,
  39. B00000000,B11111111,B10000000,
  40. B00000001,B11111111,B11100000,
  41. B00000111,B00000000,B00000000,
  42. B00001111,B00000000,B00000000,
  43. B00011111,B00001111,B11111000,
  44. B00011111,B00001111,B11111000,
  45. B00011111,B00001111,B11111000,
  46. B00011111,B00001111,B11111000,
  47. B00011111,B00001111,B11111000,
  48. B00011111,B00001111,B11111000,
  49. B00011111,B00000000,B00000000,
  50. B00011111,B00000000,B00000000,
  51. B00001111,B00001111,B11111000,
  52. B00000111,B00001111,B11110000,
  53. B00000011,B00001111,B11000000,
  54. B00000001,B00001111,B00000000,
  55. B00000000,B00001100,B00000000
  56. };
  57. //
  58. // Use default bitmaps
  59. //
  60. #define STATUS_HOTEND_ANIM
  61. #define STATUS_BED_ANIM
  62. #if HOTENDS < 2
  63. #define STATUS_LOGO_X 8
  64. #define STATUS_HEATERS_X 40
  65. #define STATUS_BED_X 72
  66. #else
  67. #define STATUS_LOGO_X 0
  68. #define STATUS_HEATERS_X 32
  69. #define STATUS_BED_X 80
  70. #endif