From e69fb8edad603c2504ca66aa36153c5b141db915 Mon Sep 17 00:00:00 2001 From: Andreas Setterlind Date: Mon, 5 Oct 2020 23:57:35 +0200 Subject: [PATCH] Move CR-10 S5 configs (#248) --- .../CrealityV1}/Configuration.h | 0 .../CrealityV1}/Configuration_adv.h | 0 .../CrealityV1}/_Bootscreen.h | 0 .../CR-10 S5/CrealityV1/_Statusscreen.h | 66 +++++++++++++++++++ 4 files changed, 66 insertions(+) rename config/examples/Creality/{CR-10_5S => CR-10 S5/CrealityV1}/Configuration.h (100%) rename config/examples/Creality/{CR-10_5S => CR-10 S5/CrealityV1}/Configuration_adv.h (100%) rename config/examples/Creality/{CR-10_5S => CR-10 S5/CrealityV1}/_Bootscreen.h (100%) create mode 100644 config/examples/Creality/CR-10 S5/CrealityV1/_Statusscreen.h diff --git a/config/examples/Creality/CR-10_5S/Configuration.h b/config/examples/Creality/CR-10 S5/CrealityV1/Configuration.h similarity index 100% rename from config/examples/Creality/CR-10_5S/Configuration.h rename to config/examples/Creality/CR-10 S5/CrealityV1/Configuration.h diff --git a/config/examples/Creality/CR-10_5S/Configuration_adv.h b/config/examples/Creality/CR-10 S5/CrealityV1/Configuration_adv.h similarity index 100% rename from config/examples/Creality/CR-10_5S/Configuration_adv.h rename to config/examples/Creality/CR-10 S5/CrealityV1/Configuration_adv.h diff --git a/config/examples/Creality/CR-10_5S/_Bootscreen.h b/config/examples/Creality/CR-10 S5/CrealityV1/_Bootscreen.h similarity index 100% rename from config/examples/Creality/CR-10_5S/_Bootscreen.h rename to config/examples/Creality/CR-10 S5/CrealityV1/_Bootscreen.h diff --git a/config/examples/Creality/CR-10 S5/CrealityV1/_Statusscreen.h b/config/examples/Creality/CR-10 S5/CrealityV1/_Statusscreen.h new file mode 100644 index 0000000000..44a09f121b --- /dev/null +++ b/config/examples/Creality/CR-10 S5/CrealityV1/_Statusscreen.h @@ -0,0 +1,66 @@ +/** + * 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_X 8 +#define STATUS_LOGO_Y 5 +#define STATUS_LOGO_WIDTH 22 + +const unsigned char status_logo_bmp[] PROGMEM = { + B00111110,B00001111,B11110000, + B11000001,B10000110,B00011000, + B11000001,B10000110,B00001100, + B00000001,B10000110,B00000100, + B00000011,B00000110,B00000100, + B00011111,B00000110,B00000100, + B00000011,B00000110,B00000100, + B00000001,B10000110,B00000100, + B11000001,B10000110,B00001100, + B11000001,B10000110,B00011000, + B00111110,B00001111,B11110000 +}; + +// +// Use default bitmaps +// +#define STATUS_HOTEND_ANIM +#define STATUS_BED_ANIM +#if HOTENDS < 2 + #define STATUS_HEATERS_X 40 + #define STATUS_BED_X 72 +#else + #define STATUS_HEATERS_X 32 + #define STATUS_BED_X 80 +#endif