123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- /**
- * Marlin 3D Printer Firmware
- * Copyright (c) 2019 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 <http://www.gnu.org/licenses/>.
- *
- */
- #pragma once
-
- /**
- * Animated boot screen example
- */
-
- #define CUSTOM_BOOTSCREEN_ANIMATED
- #define CUSTOM_BOOTSCREEN_FRAME_TIME 100 // (ms)
-
- #define CUSTOM_BOOTSCREEN_BMPWIDTH 120
-
- const unsigned char custom_start_bmp[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00001100,B00110000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00001100,B00110000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00001100,B00000000,B00001111,
- B10001100,B00110000,B11000111,B10000011,B10001100,B00110000,B11100111,
- B10001100,B00110000,B11001111,B11000111,B11001100,B00110001,B11110011,
- B10001100,B00110000,B11011100,B11101100,B11101100,B00110011,B10111001,
- B10001100,B00110000,B11011000,B01101100,B01101100,B00110011,B00011001,
- B10001100,B00110000,B11010000,B01101100,B00001100,B00110011,B00011001,
- B10001100,B00110000,B11011000,B01101100,B00001100,B00110011,B00011001,
- B10001100,B00110000,B11011100,B01101100,B00001110,B00111011,B00011001,
- B10001100,B00110000,B11001111,B01111100,B00000111,B10011111,B00011001,
- B10001100,B00110000,B11000111,B01111100,B00000011,B10001111,B00011001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- #if ENABLED(CUSTOM_BOOTSCREEN_ANIMATED)
-
- const unsigned char custom_start_bmp1[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00011111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00001111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000011,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char custom_start_bmp2[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00000000,B00000000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00000000,B00000000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00000000,B00000000,B00001111,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000111,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000011,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000000,B00000000,B00000000,B00000000,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char custom_start_bmp3[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00000000,B00000000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00000000,B00000000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00000000,B00000000,B00001111,
- B10001100,B00110000,B11000111,B10000000,B00000000,B00000000,B00000111,
- B10001100,B00110000,B11001111,B11000000,B00000000,B00000000,B00000011,
- B10001100,B00110000,B11011100,B11100000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01100000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11010000,B01100000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01100000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11011100,B01100000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11001111,B01110000,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000111,B01110000,B00000000,B00000000,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char custom_start_bmp4[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00000000,B00000000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00000000,B00000000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00000000,B00000000,B00001111,
- B10001100,B00110000,B11000111,B10000011,B10000000,B00000000,B00000111,
- B10001100,B00110000,B11001111,B11000111,B11000000,B00000000,B00000011,
- B10001100,B00110000,B11011100,B11101100,B11100000,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B01100000,B00000000,B00000001,
- B10001100,B00110000,B11010000,B01101100,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11011100,B01101100,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11001111,B01111100,B00000000,B00000000,B00000001,
- B10001100,B00110000,B11000111,B01111100,B00000000,B00000000,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char custom_start_bmp5[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00001100,B00000000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00001100,B00000000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00001100,B00000000,B00001111,
- B10001100,B00110000,B11000111,B10000011,B10001100,B00000000,B00000111,
- B10001100,B00110000,B11001111,B11000111,B11001100,B00000000,B00000011,
- B10001100,B00110000,B11011100,B11101100,B11101100,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B01101100,B00000000,B00000001,
- B10001100,B00110000,B11010000,B01101100,B00001100,B00000000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B00001100,B00000000,B00000001,
- B10001100,B00110000,B11011100,B01101100,B00001110,B00000000,B00000001,
- B10001100,B00110000,B11001111,B01111100,B00000111,B10000000,B00000001,
- B10001100,B00110000,B11000111,B01111100,B00000011,B10000000,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char custom_start_bmp6[] PROGMEM = {
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000001,B11111111,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111111,
- B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01111111,
- B10000011,B11001111,B00000000,B00000000,B00001100,B00110000,B00111111,
- B10000111,B11111111,B10000000,B00000000,B00001100,B00110000,B00011111,
- B10000110,B01111001,B10000000,B00000000,B00001100,B00000000,B00001111,
- B10001100,B00110000,B11000111,B10000011,B10001100,B00110000,B00000111,
- B10001100,B00110000,B11001111,B11000111,B11001100,B00110000,B00000011,
- B10001100,B00110000,B11011100,B11101100,B11101100,B00110000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B01101100,B00110000,B00000001,
- B10001100,B00110000,B11010000,B01101100,B00001100,B00110000,B00000001,
- B10001100,B00110000,B11011000,B01101100,B00001100,B00110000,B00000001,
- B10001100,B00110000,B11011100,B01101100,B00001110,B00111000,B00000001,
- B10001100,B00110000,B11001111,B01111100,B00000111,B10011100,B00000001,
- B10001100,B00110000,B11000111,B01111100,B00000011,B10001100,B00000001,
- B01000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000010,
- B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000110,
- B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
- };
-
- const unsigned char * const custom_bootscreen_animation[] PROGMEM = {
- custom_start_bmp1, custom_start_bmp2, custom_start_bmp3, custom_start_bmp4, custom_start_bmp5, custom_start_bmp6, custom_start_bmp
- };
-
- #endif
|