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
m_professoreyes.c@9:67877833c19e, 2018-05-02 (annotated)
- Committer:
- Pokitto
- Date:
- Wed May 02 06:14:30 2018 +0000
- Revision:
- 9:67877833c19e
- Parent:
- 1:9e3293ab4ad9
New pokittolib;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 1:9e3293ab4ad9 | 1 | |
Pokitto | 1:9e3293ab4ad9 | 2 | |
Pokitto | 1:9e3293ab4ad9 | 3 | /* |
Pokitto | 1:9e3293ab4ad9 | 4 | * BMP image as 4bpp (16 colour index) data |
Pokitto | 1:9e3293ab4ad9 | 5 | */ |
Pokitto | 1:9e3293ab4ad9 | 6 | |
Pokitto | 1:9e3293ab4ad9 | 7 | #include <stdint.h> |
Pokitto | 1:9e3293ab4ad9 | 8 | #include "Animation.h" |
Pokitto | 1:9e3293ab4ad9 | 9 | |
Pokitto | 1:9e3293ab4ad9 | 10 | const uint16_t m_professoreyes_pal[] = { |
Pokitto | 1:9e3293ab4ad9 | 11 | 0,65535,38918,62943,950,1375,26207,2440,48893,59358,38905,34615,30260,40922,51196,21485 |
Pokitto | 1:9e3293ab4ad9 | 12 | }; |
Pokitto | 1:9e3293ab4ad9 | 13 | |
Pokitto | 1:9e3293ab4ad9 | 14 | const uint8_t m_professoreyes[] = { |
Pokitto | 1:9e3293ab4ad9 | 15 | 104,40, |
Pokitto | 1:9e3293ab4ad9 | 16 | 170,170,170,170,170,170,170,173,221,170,170,170,170,170,173,221,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,221,218,170,170,170,170,170,221,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,221,218,170,170,170,170,170,170,170,170,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,173,221,170,170,170,170,170,170,170,170,173,218,170,170,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 17 | 170,170,170,170,170,173,218,170,170,170,170,170,170,170,170,170,170,218,186,170,170,170,170,170,170,170,170,170,170,170,170,170,170,221,170,170,170,170,170,170,170,170,170,170,173,171,170,170,170,170,170,170,170,170,170,170,173,218,170,170,170,170,170,170,170,170,170,170,170,170,171,186,170,170,170,170,170,170,170,170,170,170,170,170,221,170,170,170,170,170,170,170,170,170,170,170,170,170,186,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 18 | 170,170,170,170,221,170,170,170,170,170,170,170,170,170,170,170,170,170,173,187,170,170,170,170,170,170,170,170,170,170,170,173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,219,186,170,170,170,170,170,170,170,173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,219,186,170,170,170,170,170,170,170,170,170,170,221,170,170,170,170,170,170,170,170,170,170,170,170,170,170,173,187,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 19 | 170,170,170,221,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,187,170,170,170,170,170,170,170,170,170,173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,219,186,170,170,170,170,170,173,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,219,186,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,187,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 20 | 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,170,170,170,170,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,219,186,170,170,170,170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,219,186,170,170,170,170,170,170,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,29,187,170,170, |
Pokitto | 1:9e3293ab4ad9 | 21 | 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,170,170,170,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,187,170,170,170,174,17,17,17,17,17,17,17,17,17,25,102,102,104,17,17,17,17,17,17,24,203,170,170,170,170,170,170,225,17,17,17,17,17,17,152,137,17,17,17,17,17,17,17,17,17,17,17,140,186,170, |
Pokitto | 1:9e3293ab4ad9 | 22 | 170,209,17,17,17,17,17,17,17,17,25,101,85,85,85,88,17,17,17,17,17,17,203,170,170,170,170,170,173,17,17,17,17,17,25,134,85,85,86,129,17,17,17,17,17,17,17,17,17,27,186,170,170,225,17,17,17,17,17,17,17,17,133,85,85,85,85,85,105,17,17,17,17,17,140,186,170,170,170,170,174,17,17,17,17,17,133,85,85,85,85,86,17,17,17,17,17,17,17,17,17,24,203,170, |
Pokitto | 1:9e3293ab4ad9 | 23 | 170,145,17,17,17,17,17,17,17,24,85,85,85,85,85,85,86,17,17,17,17,17,156,186,170,170,170,170,169,17,17,17,17,24,85,85,85,85,85,85,105,17,17,17,17,17,17,17,17,25,203,170,173,17,17,17,17,17,17,17,17,149,85,85,85,85,85,85,85,97,17,17,17,17,28,203,170,170,170,170,209,17,17,17,17,133,85,85,85,85,85,85,86,17,17,17,17,17,17,17,17,17,188,186, |
Pokitto | 1:9e3293ab4ad9 | 24 | 174,17,17,17,17,17,17,17,17,101,85,85,85,68,85,85,85,89,17,17,17,17,27,203,170,170,170,170,225,17,17,17,17,101,85,85,84,69,85,85,85,129,17,17,17,17,17,17,17,17,188,186,174,17,17,17,17,17,17,17,25,85,85,85,112,0,116,85,85,86,17,17,17,17,24,203,170,170,170,170,225,17,17,17,24,85,85,87,0,7,69,85,85,97,17,17,17,17,17,17,17,17,140,186, |
Pokitto | 1:9e3293ab4ad9 | 25 | 169,17,17,17,17,17,17,17,24,85,85,87,0,0,0,69,85,86,17,17,17,17,25,203,186,170,170,170,145,17,17,17,22,85,85,112,0,0,4,85,85,89,17,17,17,17,17,17,17,17,156,187,169,17,17,17,17,17,17,17,22,85,85,64,0,0,0,5,85,85,17,17,17,17,25,204,186,170,170,170,145,17,17,17,21,85,84,0,0,0,0,85,85,88,17,17,17,17,17,17,17,17,156,203, |
Pokitto | 1:9e3293ab4ad9 | 26 | 209,17,17,17,17,17,17,17,22,85,85,112,0,0,0,4,85,85,17,17,17,17,17,204,186,170,170,173,17,17,17,17,21,85,87,0,0,0,0,69,85,86,17,17,17,17,17,17,17,17,28,203,174,238,238,238,238,238,238,238,237,102,102,255,255,255,255,252,102,102,238,238,238,238,238,204,186,170,170,170,238,238,238,238,230,102,111,255,255,255,255,198,102,109,238,238,238,238,238,238,238,238,236,203, |
Pokitto | 1:9e3293ab4ad9 | 27 | 170,170,170,170,170,170,170,170,170,221,221,221,221,221,221,221,221,221,170,170,170,170,170,204,186,170,170,170,170,170,170,170,173,221,221,221,221,221,221,221,221,218,170,170,170,170,170,170,170,170,172,203,221,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,252,186,170,170,170,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,175,203, |
Pokitto | 1:9e3293ab4ad9 | 28 | 221,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,171,252,186,170,170,170,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,191,204,173,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,220,252,186,170,170,170,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,191,203, |
Pokitto | 1:9e3293ab4ad9 | 29 | 173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,220,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,173,207,203,173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,223,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,207,203, |
Pokitto | 1:9e3293ab4ad9 | 30 | 173,234,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,191,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,255,203,170,237,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,173,207,204,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,219,255,203, |
Pokitto | 1:9e3293ab4ad9 | 31 | 170,222,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,171,255,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,220,252,186,170,174,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,220,255,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,191,252,186, |
Pokitto | 1:9e3293ab4ad9 | 32 | 170,173,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,191,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,188,187,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,173,207,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,173,218,170, |
Pokitto | 1:9e3293ab4ad9 | 33 | 170,170,170,170,170,170,170,170,170,170,170,170,170,170,173,170,170,170,170,170,220,255,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,173,170,170,170,170,191,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, |
Pokitto | 1:9e3293ab4ad9 | 34 | 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,171,255,204,186,170,170,170,170,170,170,170,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,170,170,170,191,255,203,170,170,170,170,170,170,170,170,171,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 35 | 170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,138,170,175,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,170,170,170,170,170,170,170,170,170,170,173,170,172,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, |
Pokitto | 1:9e3293ab4ad9 | 36 | |
Pokitto | 1:9e3293ab4ad9 | 37 | }; |
Pokitto | 1:9e3293ab4ad9 | 38 |