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_righteye.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_righteye_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_righteye[] = { |
Pokitto | 1:9e3293ab4ad9 | 15 | 48,48, |
Pokitto | 1:9e3293ab4ad9 | 16 | 170,170,170,170,170,170,170,170,170,222,233,153,153,238,218,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,174,233,17,17,17,17,17,25,237,170,170,170,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 17 | 170,170,170,170,170,170,174,145,17,17,17,17,17,17,17,17,158,170,170,170,170,170,170,170,170,170,170,170,170,174,145,17,17,17,17,17,17,17,17,17,17,157,186,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 18 | 170,170,170,170,173,225,17,17,17,17,17,17,17,17,17,17,17,17,235,186,170,170,170,170,170,170,170,170,217,17,17,17,17,17,17,17,17,17,17,17,17,17,25,187,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 19 | 170,170,170,173,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,25,187,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 20 | 170,170,173,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,155,186,170,170,170,170,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,30,187,170,170, |
Pokitto | 1:9e3293ab4ad9 | 21 | 170,170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,139,186,170,170,173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,155,186,170, |
Pokitto | 1:9e3293ab4ad9 | 22 | 170,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,203,170,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,187,170, |
Pokitto | 1:9e3293ab4ad9 | 23 | 170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,140,186,170,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,156,186, |
Pokitto | 1:9e3293ab4ad9 | 24 | 173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203, |
Pokitto | 1:9e3293ab4ad9 | 25 | 174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,203,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,203, |
Pokitto | 1:9e3293ab4ad9 | 26 | 169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, |
Pokitto | 1:9e3293ab4ad9 | 27 | 209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,204,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, |
Pokitto | 1:9e3293ab4ad9 | 28 | 169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,25,204, |
Pokitto | 1:9e3293ab4ad9 | 29 | 169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204,174,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204, |
Pokitto | 1:9e3293ab4ad9 | 30 | 173,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,27,203,170,145,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,156,203, |
Pokitto | 1:9e3293ab4ad9 | 31 | 170,225,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,140,203,170,209,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,204,203, |
Pokitto | 1:9e3293ab4ad9 | 32 | 170,169,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,24,204,186,170,173,17,17,17,17,25,158,238,238,238,238,238,238,238,238,238,238,238,238,238,235,187,170, |
Pokitto | 1:9e3293ab4ad9 | 33 | 170,170,225,17,17,25,234,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,169,17,17,234,170,170,170,170,173,170,170,170,170,170,170,170,170,170,170,170,170,170, |
Pokitto | 1:9e3293ab4ad9 | 34 | 170,170,173,17,157,170,173,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,233,218,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,173,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, |
Pokitto | 1:9e3293ab4ad9 | 36 | 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, |
Pokitto | 1:9e3293ab4ad9 | 37 | 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, |
Pokitto | 1:9e3293ab4ad9 | 38 | 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, |
Pokitto | 1:9e3293ab4ad9 | 39 | 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, |
Pokitto | 1:9e3293ab4ad9 | 40 | |
Pokitto | 1:9e3293ab4ad9 | 41 | }; |
Pokitto | 1:9e3293ab4ad9 | 42 |