display_char.h 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. #ifndef DISPLAY_CHAR_H
  2. #define DISPLAY_CHAR_H
  3. #define display16X16_number { \
  4. display16X16_0, \
  5. display16X16_1, \
  6. display16X16_2, \
  7. display16X16_3, \
  8. display16X16_4, \
  9. display16X16_5, \
  10. display16X16_6, \
  11. display16X16_7, \
  12. display16X16_8, \
  13. display16X16_9 \
  14. }
  15. #define display16X16_0 { \
  16. 0b0000000000000000, \
  17. 0b0000011111100000, \
  18. 0b0000111111110000, \
  19. 0b0001100000011000, \
  20. 0b0011000000001100, \
  21. 0b0011000000001100, \
  22. 0b0110000000000110, \
  23. 0b0110000000000110, \
  24. 0b0110000000000110, \
  25. 0b0110000000000110, \
  26. 0b0011000000001100, \
  27. 0b0011000000001100, \
  28. 0b0001100000011000, \
  29. 0b0000111111110000, \
  30. 0b0000011111100000, \
  31. 0b0000000000000000 \
  32. }
  33. #define display16X16_1 { \
  34. 0b0000000000000000, \
  35. 0b0000000111000000, \
  36. 0b0000001111000000, \
  37. 0b0000011111000000, \
  38. 0b0000110111000000, \
  39. 0b0001100111000000, \
  40. 0b0000000111000000, \
  41. 0b0000000111000000, \
  42. 0b0000000111000000, \
  43. 0b0000000111000000, \
  44. 0b0000000111000000, \
  45. 0b0000000111000000, \
  46. 0b0000000111000000, \
  47. 0b0011111111111000, \
  48. 0b0011111111111000, \
  49. 0b0000000000000000 \
  50. }
  51. #define display16X16_2 { \
  52. 0b0000000000000000, \
  53. 0b0000011111110000, \
  54. 0b0000111111111000, \
  55. 0b0001110000011100, \
  56. 0b0011000000001100, \
  57. 0b0011000000011100, \
  58. 0b0000000000111000, \
  59. 0b0000000001110000, \
  60. 0b0000000011100000, \
  61. 0b0000000111000000, \
  62. 0b0000001110000000, \
  63. 0b0000011100000000, \
  64. 0b0000111000000000, \
  65. 0b0011111111111100, \
  66. 0b0011111111111100, \
  67. 0b0000000000000000 \
  68. }
  69. #define display16X16_3 { \
  70. 0b0000000000000000, \
  71. 0b0000011111110000, \
  72. 0b0000111111111000, \
  73. 0b0001110000011100, \
  74. 0b0011000000001100, \
  75. 0b0000000000011000, \
  76. 0b0000000001110000, \
  77. 0b0000000111110000, \
  78. 0b0000000111110000, \
  79. 0b0000000000011000, \
  80. 0b0000000000001100, \
  81. 0b0011000000001100, \
  82. 0b0001110000011100, \
  83. 0b0000111111111000, \
  84. 0b0000011111110000, \
  85. 0b0000000000000000 \
  86. }
  87. #define display16X16_4 { \
  88. 0b0000000000000000, \
  89. 0b0000000001110000, \
  90. 0b0000000011110000, \
  91. 0b0000000111110000, \
  92. 0b0000001111110000, \
  93. 0b0000011101110000, \
  94. 0b0000111001110000, \
  95. 0b0001110001110000, \
  96. 0b0011100001110000, \
  97. 0b0111000001110000, \
  98. 0b1111111111111100, \
  99. 0b1111111111111100, \
  100. 0b0000000001110000, \
  101. 0b0000000001110000, \
  102. 0b0000000001110000, \
  103. 0b0000000000000000 \
  104. }
  105. #define display16X16_5 { \
  106. 0b0000000000000000, \
  107. 0b0011111111111100, \
  108. 0b0011111111111100, \
  109. 0b0011000000000000, \
  110. 0b0011000000000000, \
  111. 0b0011000000000000, \
  112. 0b0011111111110000, \
  113. 0b0011111111111000, \
  114. 0b0011000000011100, \
  115. 0b0000000000001100, \
  116. 0b0000000000001100, \
  117. 0b0011000000011100, \
  118. 0b0011000000011000, \
  119. 0b0001111111111000, \
  120. 0b0000111111110000, \
  121. 0b0000000000000000 \
  122. }
  123. #define display16X16_6 { \
  124. 0b0000000000000000, \
  125. 0b0000001111110000, \
  126. 0b0000011111111000, \
  127. 0b0000111000011100, \
  128. 0b0001110000001100, \
  129. 0b0001100000000000, \
  130. 0b0011000000000000, \
  131. 0b0011001111110000, \
  132. 0b0011111000011100, \
  133. 0b0011100000001100, \
  134. 0b0011000000001100, \
  135. 0b0011000000001100, \
  136. 0b0011100000011100, \
  137. 0b0001111111111000, \
  138. 0b0000111111110000, \
  139. 0b0000000000000000 \
  140. }
  141. #define display16X16_7 { \
  142. 0b0000000000000000, \
  143. 0b0011111111111100, \
  144. 0b0011111111111100, \
  145. 0b0000000000011000, \
  146. 0b0000000000110000, \
  147. 0b0000000001100000, \
  148. 0b0000000011000000, \
  149. 0b0000000110000000, \
  150. 0b0000000110000000, \
  151. 0b0000001100000000, \
  152. 0b0000011000000000, \
  153. 0b0000011000000000, \
  154. 0b0000110000000000, \
  155. 0b0000110000000000, \
  156. 0b0000110000000000, \
  157. 0b0000000000000000 \
  158. }
  159. #define display16X16_8 { \
  160. 0b0000000000000000, \
  161. 0b0000011111110000, \
  162. 0b0000111111111000, \
  163. 0b0001110000011100, \
  164. 0b0001100000001100, \
  165. 0b0001100000001100, \
  166. 0b0000110000111000, \
  167. 0b0000011111110000, \
  168. 0b0000111111111000, \
  169. 0b0001100000011100, \
  170. 0b0011000000001100, \
  171. 0b0011000000001100, \
  172. 0b0001100000011100, \
  173. 0b0001111111111000, \
  174. 0b0000111111110000, \
  175. 0b0000000000000000 \
  176. }
  177. #define display16X16_9 { \
  178. 0b0000000000000000, \
  179. 0b0000011111110000, \
  180. 0b0000111111111000, \
  181. 0b0001110000011100, \
  182. 0b0011000000001100, \
  183. 0b0011000000001100, \
  184. 0b0011000000011100, \
  185. 0b0001111111111000, \
  186. 0b0000111111111000, \
  187. 0b0000000000011000, \
  188. 0b0000000000110000, \
  189. 0b0000000000110000, \
  190. 0b0000000001100000, \
  191. 0b0001111111000000, \
  192. 0b0001111110000000, \
  193. 0b0000000000000000 \
  194. }
  195. #define display16X16_A { \
  196. 0b0000000000000000, \
  197. 0b0000000111100000, \
  198. 0b0000001111110000, \
  199. 0b0000011101111000, \
  200. 0b0000011000111000, \
  201. 0b0000110000011100, \
  202. 0b0000110000011100, \
  203. 0b0000111111111100, \
  204. 0b0001111111111110, \
  205. 0b0001100000001100, \
  206. 0b0001100000001100, \
  207. 0b0011000000000110, \
  208. 0b0011000000000110, \
  209. 0b0111000000001110, \
  210. 0b0110000000000110, \
  211. 0b0000000000000000 \
  212. }
  213. #define display16X16_C { \
  214. 0b0000000000000000, \
  215. 0b0000001111110000, \
  216. 0b0000011111111000, \
  217. 0b0000111000011100, \
  218. 0b0001110000001100, \
  219. 0b0011100000000000, \
  220. 0b0011000000000000, \
  221. 0b0111000000000000, \
  222. 0b0111000000000000, \
  223. 0b0111000000000000, \
  224. 0b0011000000000000, \
  225. 0b0011100000000000, \
  226. 0b0001110000001100, \
  227. 0b0000111000011100, \
  228. 0b0000011111111000, \
  229. 0b0000001111110000 \
  230. }
  231. #define display16X16_V { \
  232. 0b0000000000000000, \
  233. 0b0110000000000110, \
  234. 0b0110000000000110, \
  235. 0b0111000000001110, \
  236. 0b0011000000001100, \
  237. 0b0011000000001100, \
  238. 0b0011100000011100, \
  239. 0b0001100000011000, \
  240. 0b0001100000011000, \
  241. 0b0000110000110000, \
  242. 0b0000110000110000, \
  243. 0b0000111001110000, \
  244. 0b0000011011100000, \
  245. 0b0000011111100000, \
  246. 0b0000001111000000, \
  247. 0b0000000000000000 \
  248. }
  249. #define display16X16_blank { \
  250. 0b0000000000000000, \
  251. 0b0000000000000000, \
  252. 0b0000000000000000, \
  253. 0b0000000000000000, \
  254. 0b0000000000000000, \
  255. 0b0000000000000000, \
  256. 0b0000000000000000, \
  257. 0b0000000000000000, \
  258. 0b0000000000000000, \
  259. 0b0000000000000000, \
  260. 0b0000000000000000, \
  261. 0b0000000000000000, \
  262. 0b0000000000000000, \
  263. 0b0000000000000000, \
  264. 0b0000000000000000, \
  265. 0b0000000000000000 \
  266. }
  267. #endif