Maximum sound animation test for Pokitto. BE CAREFUL, it is loud. You can also test buttons.

Dependencies:   PokittoLib

Fork of HelloWorld by Pokitto Community Team

A sound / buttons testing program. Put feelgood.snd on SD card (11kHz 8- bit unsigned raw sample) to hear sound

m_heart.c

Committer:
Pokitto
Date:
2017-10-11
Revision:
1:9e3293ab4ad9

File content as of revision 1:9e3293ab4ad9:



/*
 * BMP image as 4bpp (16 colour index) data
 */

#include <stdint.h>
#include "Animation.h"

const uint16_t m_heart_pal[] = {
0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485
};

const uint8_t m_heart[] = {
32,24,
17,17,17,134,102,104,17,17,17,17,134,102,104,17,17,17,17,17,150,85,85,85,88,17,17,150,85,85,85,88,17,17,
17,25,101,85,85,85,85,129,24,85,85,85,85,85,129,17,17,22,85,85,85,85,85,88,21,85,85,85,85,85,89,17,
17,133,85,85,85,85,85,86,133,85,85,85,85,85,86,17,17,101,85,85,85,85,85,85,85,85,85,85,85,85,85,17,
17,85,85,85,85,85,85,85,85,85,85,85,85,85,85,129,17,85,85,85,85,85,85,85,85,85,85,85,85,85,85,129,
17,85,85,85,85,85,85,85,85,85,85,85,85,85,85,129,17,101,85,85,85,85,85,85,85,85,85,85,85,85,85,145,
17,101,85,85,85,85,85,85,85,85,85,85,85,85,86,17,17,149,85,85,85,85,85,85,85,85,85,85,85,85,88,17,
17,22,85,85,85,85,85,85,85,85,85,85,85,85,97,17,17,25,85,85,85,85,85,85,85,85,85,85,85,85,129,17,
17,17,133,85,85,85,85,85,85,85,85,85,85,88,17,17,17,17,24,85,85,85,85,85,85,85,85,85,85,97,17,17,
17,17,17,133,85,85,85,85,85,85,85,85,86,17,17,17,17,17,17,24,85,85,85,85,85,85,85,85,129,17,17,17,
17,17,17,17,133,85,85,85,85,85,85,88,17,17,17,17,17,17,17,17,25,85,85,85,85,85,85,129,17,17,17,17,
17,17,17,17,17,150,85,85,85,85,89,17,17,17,17,17,17,17,17,17,17,17,101,85,85,85,145,17,17,17,17,17,
17,17,17,17,17,17,22,85,85,105,17,17,17,17,17,17,17,17,17,17,17,17,17,102,86,145,17,17,17,17,17,17,

};