/* * builtInFrames.c * * Copyright 2011 Thomas Buck * Copyright 2011 Max Nuding * Copyright 2011 Felix Bäder * * This file is part of LED-Cube. * * LED-Cube 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. * * LED-Cube 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 LED-Cube. If not, see . */ // First image loaded after initializing cube code. // Only visible for a short period of time after every reset. uint8_t defaultImageCube[64] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; // Idle animation. Displayed when no animations are stored in memory. uint8_t defaultImageA[64] = { 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff, 0xff, 0x01, 0x01, 0x01, 0xff, 0x80, 0x80, 0xff }; uint8_t defaultImageB[64] = { 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81, 0x7e, 0x81, 0x81, 0x81, 0xff, 0x81, 0x81, 0x81 }; uint8_t defaultImageC[64] = { 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02, 0x1e, 0x22, 0x22, 0x22, 0x1e, 0x02, 0x02, 0x02 }; #define IDLEANIMATIONCOUNT 3 uint8_t *idleAnimation[IDLEANIMATIONCOUNT] = { defaultImageA, defaultImageB, defaultImageC };