Maximum sound animation test for Pokitto. BE CAREFUL, it is loud. You can also test buttons.
Dependencies: PokittoLib
Fork of HelloWorld by
A sound / buttons testing program. Put feelgood.snd on SD card (11kHz 8- bit unsigned raw sample) to hear sound
Diff: m_righteye.c
- Revision:
- 1:9e3293ab4ad9
diff -r 2d2a3994d55d -r 9e3293ab4ad9 m_righteye.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m_righteye.c Wed Oct 11 22:51:50 2017 +0000 @@ -0,0 +1,42 @@ + + +/* + * BMP image as 4bpp (16 colour index) data + */ + +#include <stdint.h> +#include "Animation.h" + +const uint16_t m_righteye_pal[] = { +0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485 +}; + +const uint8_t m_righteye[] = { +48,48, +170,170,170,170,170,170,170,170,170,222,233,153,153,238,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,174,233,17,17,17,17,17,25,237,170,170,170,170,170,170,170,170, +170,170,170,170,170,170,174,145,17,17,17,17,17,17,17,17,158,170,170,170,170,170,170,170,170,170,170,170,170,174,145,17,17,17,17,17,17,17,17,17,17,157,186,170,170,170,170,170, +170,170,170,170,173,225,17,17,17,17,17,17,17,17,17,17,17,17,235,186,170,170,170,170,170,170,170,170,217,17,17,17,17,17,17,17,17,17,17,17,17,17,25,187,170,170,170,170, +170,170,170,173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,155,186,170,170,170,170,170,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,187,170,170,170, +170,170,173,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,155,186,170,170,170,170,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,30,187,170,170, +170,170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,139,186,170,170,173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,155,186,170, +170,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,203,170,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,187,170, +170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,140,186,170,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,156,186, +173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203, +174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,203,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,203, +169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, +209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,204,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, +169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, +169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204, +173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203,170,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,156,203, +170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,140,203,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,204,203, +170,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204,186,170,173,17,17,17,17,25,158,238,238,238,238,238,238,238,238,238,238,238,238,238,235,187,170, +170,170,225,17,17,25,234,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,169,17,17,234,170,170,170,170,173,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,173,17,157,170,173,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,233,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,170,173,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, +170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, + +}; +