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_flat.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_flat_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_flat[] = { |
Pokitto | 1:9e3293ab4ad9 | 15 | 42,16, |
Pokitto | 1:9e3293ab4ad9 | 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, |
Pokitto | 1:9e3293ab4ad9 | 17 | 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, |
Pokitto | 1:9e3293ab4ad9 | 18 | 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, |
Pokitto | 1:9e3293ab4ad9 | 19 | 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, |
Pokitto | 1:9e3293ab4ad9 | 20 | 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, |
Pokitto | 1:9e3293ab4ad9 | 21 | 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, |
Pokitto | 1:9e3293ab4ad9 | 22 | 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, |
Pokitto | 1:9e3293ab4ad9 | 23 | 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, |
Pokitto | 1:9e3293ab4ad9 | 24 | |
Pokitto | 1:9e3293ab4ad9 | 25 | }; |
Pokitto | 1:9e3293ab4ad9 | 26 |