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.c
- Revision:
- 1:9e3293ab4ad9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m_smile.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_pal[] = { +0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485 +}; + +const uint8_t m_smile[] = { +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, +170,170,191,255,202,170,170,170,170,170,170,172,255,251,170,170,170,170,194,34,43,170,170,170,170,170,170,194,34,43,170,170, +170,170,178,34,47,170,170,170,170,170,171,34,34,42,170,170,170,170,162,34,34,250,170,170,170,170,178,34,34,250,170,170, +170,170,172,34,34,34,202,170,170,188,34,34,34,186,170,170,170,170,170,242,34,34,34,255,255,34,34,34,44,170,170,170, +170,170,170,175,34,34,34,34,34,34,34,34,202,170,170,170,170,170,170,170,194,34,34,34,34,34,34,44,170,170,170,170, +170,170,170,170,171,194,34,34,34,34,252,170,170,170,170,170,170,170,170,170,170,170,188,207,252,203,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, + +}; +