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_smile_open.c
- Revision:
- 1:9e3293ab4ad9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m_smile_open.c Wed Oct 11 22:51:50 2017 +0000 @@ -0,0 +1,26 @@ + + +/* + * BMP image as 4bpp (16 colour index) data + */ + +#include <stdint.h> +#include "Animation.h" + +const uint16_t m_smile_open_pal[] = { +0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485 +}; + +const uint8_t m_smile_open[] = { +32,16, +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, +175,34,34,34,34,34,34,34,34,34,34,34,34,34,34,202,175,34,34,34,34,34,34,34,34,34,34,34,34,34,34,202, +175,34,34,34,34,34,34,34,34,34,34,34,34,34,34,202,172,34,34,34,34,34,34,34,34,34,34,34,34,34,34,170, +170,34,34,34,34,34,34,34,34,34,34,34,34,34,47,170,170,194,34,34,34,34,34,34,34,34,34,34,34,34,43,170, +170,172,34,34,34,34,34,34,34,34,34,34,34,34,202,170,170,170,194,34,34,34,34,34,34,34,34,34,34,44,170,170, +170,170,172,34,34,34,34,34,34,34,34,34,34,186,170,170,170,170,170,191,34,34,34,34,34,34,34,34,250,170,170,170, +170,170,170,170,191,34,34,34,34,34,34,203,170,170,170,170,170,170,170,170,170,171,207,255,255,252,186,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, + +}; +