From bae44513b652f2973577ddf77ab433aa587d1b63 Mon Sep 17 00:00:00 2001 From: Phoenix Phoebus <151787300+phoenixphoebus@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:12:05 -0500 Subject: [PATCH] Update Parola_Sprites_Library.ino --- .../Parola_Sprites_Library.ino | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/examples/Parola_Sprites_Library/Parola_Sprites_Library.ino b/examples/Parola_Sprites_Library/Parola_Sprites_Library.ino index b3a68f9..80e0cba 100644 --- a/examples/Parola_Sprites_Library/Parola_Sprites_Library.ino +++ b/examples/Parola_Sprites_Library/Parola_Sprites_Library.ino @@ -224,6 +224,45 @@ const uint8_t PROGMEM walker[F_WALKER * W_WALKER] = // walking man 0x00, 0x10, 0x6e, 0x3e, 0xb8, 0xe8, 0x00, }; +const uint8_t F_WHEEL = 6; +const uint8_t W_WHEEL = 8; +const uint8_t PROGMEM wheelforward[F_WHEEL * W_WHEEL] = +{ + 0x3c,0x5a,0x99,0xff,0xff,0x99,0x5a,0x3c, + 0x3c,0x7a,0x93,0xdf,0xfb,0xc9,0x5e,0x3c, + 0x3c,0x72,0xb7,0x9f,0xf9,0xed,0x4e,0x3c, + 0x3c,0x66,0xf7,0x9d,0xb9,0xef,0x66,0x3c, + 0x3c,0x66,0xef,0xb9,0x9d,0xf7,0x66,0x3c, + 0x3c,0x4e,0xed,0xf9,0x9f,0xb7,0x72,0x3c, +}; + +const uint8_t F_HOURGLASS = 19; +const uint8_t W_HOURGLASS = 8; +const uint8_t PROGMEM hourglass[F_HOURGLASS * W_HOURGLASS] = +{ + 0xc3,0xa7,0x9f,0x9f,0xa7,0xc3,0x00,0x00, + 0xc3,0xa7,0x9f,0x9f,0xa7,0xc3,0x00,0x00, + //start dropping + 0xc3,0xa7,0x9f,0xbd,0xa7,0xc3,0x00,0x00, + 0xc3,0xa7,0x9f,0xdd,0xa7,0xc3,0x00,0x00, + 0xc3,0xa7,0xbd,0xdd,0xa7,0xc3,0x00,0x00, + 0xc3,0xa7,0xdd,0xdd,0xa7,0xc3,0x00,0x00, + 0xc3,0xa5,0xfd,0xdd,0xa7,0xc3,0x00,0x00, + 0xc3,0xe5,0xdd,0xdd,0xa7,0xc3,0x00,0x00, + 0xc3,0xe5,0xdd,0xfd,0xa5,0xc3,0x00,0x00, + 0xc3,0xe5,0xdd,0xdd,0xe5,0xc3,0x00,0x00, + 0xc3,0xe5,0xf9,0xdd,0xe5,0xc3,0x00,0x00, + 0xc3,0xe5,0xf9,0xf9,0xe5,0xc3,0x00,0x00, + //start flipping + 0x42,0xe7,0xfb,0xfb,0xe7,0x42,0x00,0x00, + 0x24,0x76,0x7a,0x7a,0x76,0x24,0x00,0x00, + 0x14,0x3c,0x7e,0x7e,0x3c,0x14,0x00,0x00, + 0x18,0x3c,0x7e,0x7e,0x3c,0x18,0x00,0x00, + 0x2c,0x3e,0x7f,0x7f,0x3e,0x2c,0x00,0x00, + 0x46,0x6f,0x5f,0x5f,0x6f,0x46,0x00,0x00, + 0xc3,0xa7,0x9f,0x9f,0xa7,0xc3,0x00,0x00, +}; + struct { const uint8_t *data; @@ -247,7 +286,9 @@ sprite[] = { sailboat, W_SAILBOAT, F_SAILBOAT }, { arrow2, W_ARROW2, F_ARROW2 }, { wave, W_WAVE, F_WAVE }, - { pacman1, W_PMAN1, F_PMAN1 } + { pacman1, W_PMAN1, F_PMAN1 }, + { wheelforward , W_WHEEL, F_WHEEL }, + { hourglass , W_HOURGLASS, F_HOURGLASS } }; void doUI(void)