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_flat.c
- Revision:
- 1:9e3293ab4ad9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m_flat.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_flat_pal[] = { +0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485 +}; + +const uint8_t m_flat[] = { +42,16, +242,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,47,35,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,50, +41,17,17,17,24,17,17,17,153,17,17,17,145,17,17,17,129,17,17,17,50,41,17,17,17,159,17,17,17,140,17,17,17,201,17,17,25,193,17,17,17,50, +41,17,17,17,156,17,17,17,140,17,17,17,201,17,17,25,193,17,17,17,50,41,17,17,17,156,17,17,17,136,17,17,17,201,17,17,25,193,17,17,17,50, +47,255,255,255,247,255,255,255,255,255,255,255,127,255,255,255,127,255,255,255,242,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2, +242,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,47,175,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,251, +173,172,34,32,0,0,0,0,0,0,0,0,0,0,0,0,0,2,34,251,218,170,170,171,242,34,32,0,0,0,0,0,0,0,0,0,2,34,47,202,218,170, +170,170,170,218,188,242,34,34,34,32,0,2,34,34,34,47,203,173,170,170,170,170,170,170,170,170,218,187,204,207,255,255,255,255,204,187,170,170,170,170,170,170, +170,170,170,170,170,170,170,173,170,221,221,221,221,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, + +}; +