arduino stuffs
Diffstat (limited to 'mp3player/arduino/display/splash.hpp')
| -rw-r--r-- | mp3player/arduino/display/splash.hpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mp3player/arduino/display/splash.hpp b/mp3player/arduino/display/splash.hpp new file mode 100644 index 0000000..8fb2c44 --- /dev/null +++ b/mp3player/arduino/display/splash.hpp @@ -0,0 +1,45 @@ +// ship 1-9, 16x16px animation, 432 bytes +#ifndef SPLASH_H +#define SPLASH_H + +#define SPLASH_SIZE 16 + +const unsigned char ship1[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x02, + 0x40, 0x06, 0x60, 0x0e, 0x70, 0x1f, 0xf8, 0x3f, 0xfc, 0x3f, 0xfc, + 0x3f, 0xfc, 0x03, 0xc0, 0x0f, 0xf0, 0x0e, 0xd0, 0x00, 0x00}; + +const unsigned char ship2[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x03, + 0x00, 0x07, 0x20, 0x0f, 0x30, 0x0f, 0xf0, 0x3f, 0xf4, 0x3f, 0xf4, + 0x3f, 0xf4, 0x01, 0x80, 0x0f, 0xf0, 0x07, 0x70, 0x00, 0x00}; + +const unsigned char ship3[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x03, + 0x80, 0x03, 0x80, 0x07, 0x90, 0x07, 0xf0, 0x07, 0xf0, 0x07, 0xf0, + 0x07, 0xf0, 0x00, 0x00, 0x0f, 0xf0, 0x0b, 0xb0, 0x00, 0x00}; + +const unsigned char ship4[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x03, + 0xc0, 0x01, 0xe0, 0x0d, 0xf0, 0x0d, 0xf0, 0x0d, 0xf0, 0x0d, 0xf0, + 0x0d, 0xf0, 0x0c, 0x00, 0x0f, 0xf0, 0x0d, 0xe0, 0x00, 0x00}; + +const unsigned char ship5[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x01, + 0xc0, 0x01, 0x60, 0x0b, 0x70, 0x0f, 0x70, 0x0f, 0x70, 0x0f, 0x70, + 0x0f, 0x70, 0x0f, 0x00, 0x0f, 0xf0, 0x06, 0xf0, 0x00, 0x00}; + +const unsigned char ship6[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x04, + 0xc0, 0x04, 0xc0, 0x0c, 0xd0, 0x0f, 0xd0, 0x0f, 0xd0, 0x0f, 0xd0, + 0x0f, 0xd0, 0x0f, 0xc0, 0x0f, 0xf0, 0x0b, 0x70, 0x00, 0x00}; + +const unsigned char ship7[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x02, + 0x40, 0x06, 0x60, 0x0e, 0x60, 0x0f, 0xe0, 0x0f, 0xe0, 0x0f, 0xe0, + 0x0f, 0xe0, 0x07, 0xe0, 0x0f, 0xf0, 0x0d, 0xb0, 0x00, 0x00}; + +const unsigned char ship8[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x02, + 0x40, 0x06, 0x60, 0x0e, 0x70, 0x1f, 0xf8, 0x1f, 0xf8, 0x1f, 0xf8, + 0x1f, 0xf8, 0x07, 0xe0, 0x0f, 0xf0, 0x0d, 0xb0, 0x00, 0x00}; + +const unsigned char ship9[] PROGMEM = {0x00, 0x00, 0x01, 0x80, 0x01, 0x80, 0x03, 0xc0, 0x03, 0xc0, 0x02, + 0x40, 0x06, 0x60, 0x0e, 0x70, 0x1f, 0xf8, 0x3f, 0xfc, 0x3f, 0xfc, + 0x3f, 0xfc, 0x07, 0xe0, 0x0f, 0xf0, 0x0d, 0xb0, 0x00, 0x00}; + +// Array of all bitmaps for convenience. (Total bytes used to store images in PROGMEM = 432) +const unsigned char *ships[9] = {ship1, ship2, ship3, ship4, ship5, ship6, ship7, ship8, ship9}; +#endif
\ No newline at end of file |