123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- #ifndef DISPLAY_CHAR_H
- #define DISPLAY_CHAR_H
- #define display16X16_number { \
- display16X16_0, \
- display16X16_1, \
- display16X16_2, \
- display16X16_3, \
- display16X16_4, \
- display16X16_5, \
- display16X16_6, \
- display16X16_7, \
- display16X16_8, \
- display16X16_9 \
- }
- #define display16X16_0 { \
- 0b0000000000000000, \
- 0b0000011111100000, \
- 0b0000111111110000, \
- 0b0001100000011000, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0001100000011000, \
- 0b0000111111110000, \
- 0b0000011111100000, \
- 0b0000000000000000 \
- }
- #define display16X16_1 { \
- 0b0000000000000000, \
- 0b0000000111000000, \
- 0b0000001111000000, \
- 0b0000011111000000, \
- 0b0000110111000000, \
- 0b0001100111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0000000111000000, \
- 0b0011111111111100, \
- 0b0011111111111100, \
- 0b0000000000000000 \
- }
- #define display16X16_2 { \
- 0b0000000000000000, \
- 0b0000011111110000, \
- 0b0000111111111000, \
- 0b0001110000011100, \
- 0b0011000000001100, \
- 0b0011000000011100, \
- 0b0000000000111000, \
- 0b0000000001110000, \
- 0b0000000011100000, \
- 0b0000000111000000, \
- 0b0000001110000000, \
- 0b0000011100000000, \
- 0b0000111000000000, \
- 0b0011111111111100, \
- 0b0011111111111100, \
- 0b0000000000000000 \
- }
- #define display16X16_3 { \
- 0b0000000000000000, \
- 0b0000011111110000, \
- 0b0000111111111000, \
- 0b0001110000011100, \
- 0b0011000000001100, \
- 0b0000000000011000, \
- 0b0000000001110000, \
- 0b0000000111110000, \
- 0b0000000111110000, \
- 0b0000000000011000, \
- 0b0000000000001100, \
- 0b0011000000001100, \
- 0b0001110000011100, \
- 0b0000111111111000, \
- 0b0000011111110000, \
- 0b0000000000000000 \
- }
- #define display16X16_4 { \
- 0b0000000000000000, \
- 0b0000000001110000, \
- 0b0000000011110000, \
- 0b0000000111110000, \
- 0b0000001111110000, \
- 0b0000011101110000, \
- 0b0000111001110000, \
- 0b0001110001110000, \
- 0b0011100001110000, \
- 0b0111000001110000, \
- 0b1111111111111100, \
- 0b1111111111111100, \
- 0b0000000001110000, \
- 0b0000000001110000, \
- 0b0000000001110000, \
- 0b0000000000000000 \
- }
- #define display16X16_5 { \
- 0b0000000000000000, \
- 0b0011111111111100, \
- 0b0011111111111100, \
- 0b0011000000000000, \
- 0b0011000000000000, \
- 0b0011000000000000, \
- 0b0011111111110000, \
- 0b0011111111111000, \
- 0b0011000000011100, \
- 0b0000000000001100, \
- 0b0000000000001100, \
- 0b0011000000011100, \
- 0b0011000000011000, \
- 0b0001111111111000, \
- 0b0000111111110000, \
- 0b0000000000000000 \
- }
- #define display16X16_6 { \
- 0b0000000000000000, \
- 0b0000001111110000, \
- 0b0000011111111000, \
- 0b0000111000011100, \
- 0b0001110000001100, \
- 0b0001100000000000, \
- 0b0011000000000000, \
- 0b0011001111110000, \
- 0b0011111000011100, \
- 0b0011100000001100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0011100000011100, \
- 0b0001111111111000, \
- 0b0000111111110000, \
- 0b0000000000000000 \
- }
- #define display16X16_7 { \
- 0b0000000000000000, \
- 0b0011111111111100, \
- 0b0011111111111100, \
- 0b0000000000011000, \
- 0b0000000000110000, \
- 0b0000000001100000, \
- 0b0000000011000000, \
- 0b0000000110000000, \
- 0b0000000110000000, \
- 0b0000001100000000, \
- 0b0000011000000000, \
- 0b0000011000000000, \
- 0b0000110000000000, \
- 0b0000110000000000, \
- 0b0000110000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_8 { \
- 0b0000000000000000, \
- 0b0000011111110000, \
- 0b0000111111111000, \
- 0b0001110000011100, \
- 0b0001100000001100, \
- 0b0001100000001100, \
- 0b0000110000111000, \
- 0b0000011111110000, \
- 0b0000111111111000, \
- 0b0001100000011100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0001100000011100, \
- 0b0001111111111000, \
- 0b0000111111110000, \
- 0b0000000000000000 \
- }
- #define display16X16_9 { \
- 0b0000000000000000, \
- 0b0000011111110000, \
- 0b0000111111111000, \
- 0b0001110000011100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0011000000011100, \
- 0b0001111111111000, \
- 0b0000111111111000, \
- 0b0000000000011000, \
- 0b0000000000110000, \
- 0b0000000000110000, \
- 0b0000000001100000, \
- 0b0001111111000000, \
- 0b0001111110000000, \
- 0b0000000000000000 \
- }
- #define display16X16_A { \
- 0b0000000000000000, \
- 0b0000001111000000, \
- 0b0000011111100000, \
- 0b0000111001110000, \
- 0b0000110000110000, \
- 0b0001100000011000, \
- 0b0001100000011000, \
- 0b0001111111111000, \
- 0b0011111111111100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0111000000001110, \
- 0b0111000000001110, \
- 0b0000000000000000 \
- }
- #define display16X16_C { \
- 0b0000000000000000, \
- 0b0000001111110000, \
- 0b0000011111111000, \
- 0b0000111000011100, \
- 0b0001110000001100, \
- 0b0011100000000000, \
- 0b0011000000000000, \
- 0b0111000000000000, \
- 0b0111000000000000, \
- 0b0111000000000000, \
- 0b0011000000000000, \
- 0b0011100000000000, \
- 0b0001110000001100, \
- 0b0000111000011100, \
- 0b0000011111111000, \
- 0b0000001111110000 \
- }
- #define display16X16_V { \
- 0b0000000000000000, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0111000000001110, \
- 0b0011000000001100, \
- 0b0011000000001100, \
- 0b0011100000011100, \
- 0b0001100000011000, \
- 0b0001100000011000, \
- 0b0000110000110000, \
- 0b0000110000110000, \
- 0b0000111001110000, \
- 0b0000011011100000, \
- 0b0000011111100000, \
- 0b0000001111000000, \
- 0b0000000000000000 \
- }
- #define display16X16_blank { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_number_R { \
- display16X16_0_R, \
- display16X16_1_R, \
- display16X16_2_R, \
- display16X16_3_R, \
- display16X16_4_R, \
- display16X16_5_R, \
- display16X16_6_R, \
- display16X16_7_R, \
- display16X16_8_R, \
- display16X16_9_R \
- }
- #define display16X16_0_R { \
- 0b0000000000000000, \
- 0b0000001111000000, \
- 0b0000111111110000, \
- 0b0001110000111000, \
- 0b0011000000001100, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0110000000000110, \
- 0b0011000000001100, \
- 0b0001110000111000, \
- 0b0000111111110000, \
- 0b0000001111000000, \
- 0b0000000000000000 \
- }
- #define display16X16_1_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0110000000000000, \
- 0b0110000000100000, \
- 0b0110000000110000, \
- 0b0110000000011000, \
- 0b0110000000001100, \
- 0b0111111111111110, \
- 0b0111111111111110, \
- 0b0111111111111110, \
- 0b0110000000000000, \
- 0b0110000000000000, \
- 0b0110000000000000, \
- 0b0110000000000000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_2_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0110000000110000, \
- 0b0110000000111000, \
- 0b0111000000001100, \
- 0b0111100000001110, \
- 0b0111110000000110, \
- 0b0110111000000110, \
- 0b0110011100000110, \
- 0b0110001110000110, \
- 0b0110000111000110, \
- 0b0110000011101110, \
- 0b0110000001111100, \
- 0b0110000000111000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_3_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000100000010000, \
- 0b0001100000011000, \
- 0b0011000000001100, \
- 0b0111000000001110, \
- 0b0110000000000110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0110000111000110, \
- 0b0110000111000110, \
- 0b0111001111101110, \
- 0b0011111000111100, \
- 0b0001110000011000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_4_R { \
- 0b0000110000000000, \
- 0b0000111000000000, \
- 0b0000111100000000, \
- 0b0000111110000000, \
- 0b0000110111000000, \
- 0b0000110011100000, \
- 0b0000110001110000, \
- 0b0000110000111000, \
- 0b0000110000011100, \
- 0b0111111111111110, \
- 0b0111111111111110, \
- 0b0111111111111110, \
- 0b0000110000000000, \
- 0b0000110000000000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_5_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0001100111111110, \
- 0b0011100111111110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0110000011000110, \
- 0b0111100111000110, \
- 0b0011111110000110, \
- 0b0000111100000110, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_6_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0001111111000000, \
- 0b0011111111110000, \
- 0b0111001100111000, \
- 0b0110000100011100, \
- 0b0110000110001110, \
- 0b0110000010000110, \
- 0b0110000010000110, \
- 0b0110000010000110, \
- 0b0110000010000110, \
- 0b0111000110001110, \
- 0b0011111100011100, \
- 0b0001111100011000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_7_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000000000110, \
- 0b0000000000000110, \
- 0b0111000000000110, \
- 0b0111110000000110, \
- 0b0000111000000110, \
- 0b0000001110000110, \
- 0b0000000111000110, \
- 0b0000000001100110, \
- 0b0000000000110110, \
- 0b0000000000011110, \
- 0b0000000000001110, \
- 0b0000000000000110, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_8_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000110000000000, \
- 0b0011111000111000, \
- 0b0111001101111100, \
- 0b0110000111001110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0110000111000110, \
- 0b0111001111001110, \
- 0b0011111101111100, \
- 0b0001111000111000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_9_R { \
- 0b0000000000000000, \
- 0b0000000000000000, \
- 0b0000000001110000, \
- 0b0110000011111000, \
- 0b0110000110001100, \
- 0b0110000110001110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0110000110000110, \
- 0b0011000110000110, \
- 0b0001110110000110, \
- 0b0000111111001110, \
- 0b0000001111111100, \
- 0b0000000001111000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_A_R { \
- 0b0000000000000000, \
- 0b0110000000000000, \
- 0b0111111100000000, \
- 0b0111111111100000, \
- 0b0000000111111000, \
- 0b0000000110011100, \
- 0b0000000110001110, \
- 0b0000000110000110, \
- 0b0000000110000110, \
- 0b0000000110001110, \
- 0b0000000110011100, \
- 0b0000000111111000, \
- 0b0111111111100000, \
- 0b0111111100000000, \
- 0b0110000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_C_R { \
- 0b0000000000000000, \
- 0b0000001110000000, \
- 0b0000111111100000, \
- 0b0001111111110000, \
- 0b0011100000111000, \
- 0b0111000000011100, \
- 0b1110000000001110, \
- 0b1100000000000110, \
- 0b1100000000000110, \
- 0b1100000000000110, \
- 0b1100000000000110, \
- 0b1110000000001110, \
- 0b0111000000011100, \
- 0b0011000000011000, \
- 0b0000000000000000, \
- 0b0000000000000000 \
- }
- #define display16X16_V_R { \
- 0b0000000000000000, \
- 0b0000000000001110, \
- 0b0000000001111110, \
- 0b0000000111111000, \
- 0b0000111111000000, \
- 0b0011111000000000, \
- 0b0111100000000000, \
- 0b0110000000000000, \
- 0b0111000000000000, \
- 0b0111100000000000, \
- 0b0011111000000000, \
- 0b0000111111000000, \
- 0b0000000111111000, \
- 0b0000000001111110, \
- 0b0000000000001110, \
- 0b0000000000000000 \
- }
- #endif
|