From cb3be04541697eacc2d9e9426ae6efead515c9d6 Mon Sep 17 00:00:00 2001 From: houndogie Date: Wed, 28 May 2025 09:34:29 -0400 Subject: [PATCH] uploaded boot and stat screen --- _Bootscreen.h | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ _Statusscreen.h | 82 +++++++++++++++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 _Bootscreen.h create mode 100644 _Statusscreen.h diff --git a/_Bootscreen.h b/_Bootscreen.h new file mode 100644 index 0000000..9cae067 --- /dev/null +++ b/_Bootscreen.h @@ -0,0 +1,125 @@ +/** + * Marlin 3D Printer Firmware + * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * + * Based on Sprinter and grbl. + * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ +#pragma once + +/** + * Custom Boot Screen bitmap + * + * Place this file in the root with your configuration files + * and enable SHOW_CUSTOM_BOOTSCREEN in Configuration_adv.h. + * + * Use the Marlin Bitmap Converter to make your own: + * https://marlinfw.org/tools/u8glib/converter.html + */ + +#define CUSTOM_BOOTSCREEN_TIMEOUT 1000 +#define CUSTOM_BOOTSCREEN_BMPWIDTH 92 +#define CUSTOM_BOOTSCREEN_INVERTED + +const unsigned char custom_start_bmp[] PROGMEM = { + + B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,B00111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111100,B10000111,B11000001,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11110010,B11111110,B11111000,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11110111,B01110000,B11111100,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B00111000,B01111001,B11100011,B11101111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111110,B11101100,B11110011,B11111111,B11110111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B10111111,B11100111,B11110011,B11110111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111011,B00111101,B11100001,B11110011,B10001111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11110111,B01111000,B11111001,B11000111,B01110111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111001,B11111110,B01111011,B11011111,B01100011,B10111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11011110,B01111010,B01111111,B11101110,B01111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11001111,B10011100,B11111111,B11110111,B01111111,B00111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B10111110,B11011111,B11111111,B11111111,B01111110,B11101111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B10101110,B11011111,B11111111,B11111111,B10111101,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111110,B10011111,B11011111,B01111111,B11111101,B11001111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B01111110,B11111111,B10101111,B00011111,B11111101,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B00010111,B01111111,B11110011,B10000111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11011111,B11100000,B11111110,B11111011,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B10111111,B11111111,B11101101,B11111111,B11111100,B00011111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11100111,B11110011,B11110111,B11110111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111011,B11111001,B11111011,B11101001,B11111011,B10011101,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111101,B11111101,B11111101,B11111100,B11101111,B11111001,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111100,B00000001,B11111110,B11111111,B00011111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B10111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B10001111,B00011111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111100,B11110110,B11001111,B11111001,B01100111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111101,B11111001,B11111101,B11111000,B11101111,B11111011,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111011,B10111011,B11110011,B11111010,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111101,B00111111,B11111011,B10110111,B11110001,B11111101,B10110111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11100001,B11110111,B11001111,B11111101,B11111111,B11110111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11110011,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B10001111,B11111111,B11110011,B11111111,B11011101,B00011111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111100,B11111111,B11111100,B11111111,B11011101,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B01101110,B11111111,B11111111,B11111111,B11011111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11100110,B00111111,B11111111,B11111111,B11001111,B00111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B10011111,B00111111,B11111111,B11111011,B11111111,B10111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111101,B11111111,B11110111,B11110011,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B10011101,B11111101,B11110111,B11011111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11110111,B10111101,B01111100,B11110011,B11011100,B01111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11110111,B11011110,B01111100,B01111011,B11110100,B01111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111100,B11011110,B11111111,B01111011,B11101101,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B01111111,B11111111,B11111100,B01101011,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B00111000,B00111111,B11111110,B11100111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11110011,B00111000,B01110010,B01110111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11110111,B00111011,B01100110,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111001,B01111010,B01111000,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111100,B11111100,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000, + B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000 +}; + +// Saves 345 bytes +#define COMPACT_CUSTOM_BOOTSCREEN +const unsigned char custom_start_bmp_rle[393] PROGMEM = { + 0x1F, 0x4C, 0x3F, 0x4C, 0x3F, 0x1C, 0x5F, 0x1A, 0x3F, 0x16, 0x10, 0x34, 0x4F, 0x15, 0x3F, 0x14, + 0x10, 0x06, 0x04, 0x2F, 0x14, 0x3F, 0x14, 0x02, 0x02, 0x35, 0x1F, 0x14, 0x3F, 0x10, 0x12, 0x33, + 0x13, 0x24, 0x0F, 0x10, 0x3F, 0x0F, 0x02, 0x01, 0x13, 0x1D, 0x0F, 0x0F, 0x3F, 0x11, 0x08, 0x16, + 0x15, 0x0F, 0x0F, 0x3F, 0x0D, 0x01, 0x13, 0x03, 0x34, 0x12, 0x2F, 0x10, 0x3F, 0x0C, 0x02, 0x03, + 0x24, 0x12, 0x22, 0x02, 0x0F, 0x0F, 0x3F, 0x0D, 0x17, 0x13, 0x03, 0x04, 0x01, 0x22, 0x0F, 0x0A, + 0x3F, 0x0A, 0x03, 0x13, 0x00, 0x19, 0x02, 0x1F, 0x13, 0x3F, 0x0A, 0x14, 0x12, 0x1B, 0x02, 0x06, + 0x1F, 0x0A, 0x3F, 0x09, 0x04, 0x01, 0x0F, 0x05, 0x05, 0x02, 0x0F, 0x08, 0x3F, 0x09, 0x00, 0x02, + 0x01, 0x0F, 0x06, 0x03, 0x0F, 0x0D, 0x3F, 0x0F, 0x00, 0x16, 0x04, 0x0C, 0x02, 0x1F, 0x08, 0x3F, + 0x08, 0x05, 0x08, 0x00, 0x03, 0x2A, 0x0F, 0x0D, 0x3F, 0x08, 0x20, 0x02, 0x0A, 0x12, 0x3F, 0x17, + 0x3F, 0x1A, 0x07, 0x46, 0x04, 0x0F, 0x06, 0x3F, 0x09, 0x0F, 0x01, 0x01, 0x0E, 0x4F, 0x09, 0x3F, + 0x0B, 0x16, 0x15, 0x06, 0x0F, 0x17, 0x3F, 0x0D, 0x06, 0x15, 0x04, 0x00, 0x15, 0x02, 0x12, 0x0F, + 0x05, 0x3F, 0x06, 0x06, 0x06, 0x06, 0x12, 0x08, 0x1F, 0x0D, 0x3F, 0x06, 0x87, 0x07, 0x2F, 0x19, + 0x3F, 0x19, 0x0F, 0x22, 0x3F, 0x19, 0x23, 0x2F, 0x19, 0x3F, 0x16, 0x13, 0x01, 0x01, 0x18, 0x10, + 0x01, 0x1F, 0x07, 0x3F, 0x06, 0x05, 0x16, 0x05, 0x22, 0x08, 0x0F, 0x0E, 0x3F, 0x15, 0x02, 0x02, + 0x05, 0x16, 0x00, 0x0F, 0x0C, 0x3F, 0x06, 0x00, 0x1A, 0x02, 0x01, 0x06, 0x26, 0x01, 0x01, 0x0F, + 0x07, 0x3F, 0x0B, 0x34, 0x04, 0x19, 0x0C, 0x0F, 0x07, 0x3F, 0x26, 0x1F, 0x14, 0x3F, 0x1C, 0x1F, + 0x1E, 0x3F, 0x09, 0x2F, 0x00, 0x1B, 0x02, 0x00, 0x2F, 0x09, 0x3F, 0x0E, 0x1D, 0x19, 0x02, 0x0F, + 0x0D, 0x3F, 0x08, 0x01, 0x02, 0x0F, 0x0A, 0x0F, 0x11, 0x3F, 0x0B, 0x11, 0x2F, 0x08, 0x13, 0x1F, + 0x0A, 0x3F, 0x09, 0x14, 0x1F, 0x03, 0x0A, 0x0F, 0x0A, 0x3F, 0x16, 0x0C, 0x06, 0x1F, 0x0E, 0x3F, + 0x11, 0x12, 0x06, 0x04, 0x04, 0x0F, 0x11, 0x3F, 0x0C, 0x03, 0x03, 0x00, 0x04, 0x13, 0x13, 0x02, + 0x2F, 0x0B, 0x3F, 0x0C, 0x04, 0x03, 0x14, 0x23, 0x05, 0x00, 0x2F, 0x0B, 0x3F, 0x0E, 0x11, 0x03, + 0x07, 0x03, 0x04, 0x01, 0x0F, 0x0D, 0x3F, 0x10, 0x0F, 0x05, 0x21, 0x00, 0x0F, 0x0E, 0x3F, 0x10, + 0x12, 0x4C, 0x02, 0x1F, 0x0F, 0x3F, 0x14, 0x11, 0x12, 0x32, 0x10, 0x12, 0x0F, 0x0F, 0x3F, 0x14, + 0x02, 0x12, 0x01, 0x01, 0x11, 0x0F, 0x14, 0x3F, 0x15, 0x10, 0x03, 0x00, 0x13, 0x2F, 0x14, 0x3F, + 0x16, 0x15, 0x1F, 0x1C, 0x3F, 0x4C, 0x3F, 0x4C, 0x30 +}; + + + diff --git a/_Statusscreen.h b/_Statusscreen.h new file mode 100644 index 0000000..e4b643a --- /dev/null +++ b/_Statusscreen.h @@ -0,0 +1,82 @@ +/** + * Marlin 3D Printer Firmware + * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * + * Based on Sprinter and grbl. + * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ +#pragma once + +/** + * Custom Status Screen bitmap + * + * Place this file in the root with your configuration files + * and enable CUSTOM_STATUS_SCREEN_IMAGE in Configuration.h. + * + * Use the Marlin Bitmap Converter to make your own: + * https://marlinfw.org/tools/u8glib/converter.html + */ + +// +// Status Screen Logo bitmap +// +#define STATUS_LOGO_Y 1 +#define STATUS_LOGO_WIDTH 24 + +const unsigned char status_logo_bmp[] PROGMEM = { + B00000000,B00000000,B00000000, // ........................ + B00000001,B11001110,B00000000, // .......###..###......... + B00000011,B11101111,B10000000, // ......#####.#####....... + B00000011,B11111111,B11100000, // ......#############..... + B00000011,B11111111,B11111000, // ......###############... + B00000001,B11111111,B11111100, // .......###############.. + B01111001,B11111111,B11111110, // .####..################. + B01111100,B11111110,B11111100, // .#####..#######.######.. + B00111110,B01111111,B11111100, // ..#####..#############.. + B00111111,B00111111,B11111000, // ..######..###########... + B00011111,B10011111,B11100000, // ...######..########..... + B00001111,B11001111,B11000000, // ....######..######...... + B00001111,B11111111,B11100000, // ....###############..... + B00011111,B11111111,B11100000, // ...################..... + B00111111,B01111111,B11110000, // ..######.###########.... + B00111111,B11111101,B11111000, // ..############.######... + B01111111,B11111100,B11111100, // .#############..######.. + B01111011,B11111000,B01111100, // .####.#######....#####.. + B01110001,B11111000,B00111100, // .###...######.....####.. + B01110000,B11111100,B00111100, // .###....######....####.. + B00000000,B01111110,B00000000, // .........######......... + B00000000,B01111110,B00000000, // .........######......... + B00000000,B00011100,B00000000, // ...........###.......... + B00000000,B00000000,B00000000 // ........................ +}; + +// +// Use default bitmaps +// +#define STATUS_HOTEND_ANIM +#define STATUS_BED_ANIM +#define STATUS_HEATERS_XSPACE 20 +#if HOTENDS < 2 + #define STATUS_HEATERS_X 48 + #define STATUS_BED_X 72 +#else + #define STATUS_HEATERS_X 40 + #define STATUS_BED_X 80 +#endif + + +