mega168 with four 5x7 LEDs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6x8_vertikal_LSB_1.h 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. // font from http://www.mikrocontroller.net/topic/54860 */
  2. const prog_char font[][5]={
  3. {0x00,0x00,0x00,0x00,0x00}, // 0x00
  4. {0x3E,0x45,0x51,0x45,0x3E}, // 0x01
  5. {0x3E,0x6B,0x6F,0x6B,0x3E}, // 0x02
  6. {0x1C,0x3E,0x7C,0x3E,0x1C}, // 0x03
  7. {0x18,0x3C,0x7E,0x3C,0x18}, // 0x04
  8. {0x30,0x36,0x7F,0x36,0x30}, // 0x05
  9. {0x18,0x5C,0x7E,0x5C,0x18}, // 0x06
  10. {0x00,0x00,0x00,0x00,0x00}, // 0x07
  11. {0x00,0x00,0x00,0x00,0x00}, // 0x08
  12. {0x00,0x00,0x00,0x00,0x00}, // 0x09
  13. {0x00,0x00,0x00,0x00,0x00}, // 0x0A
  14. {0x30,0x48,0x4A,0x36,0x0E}, // 0x0B
  15. {0x06,0x29,0x79,0x29,0x06}, // 0x0C
  16. {0x00,0x00,0x00,0x00,0x00}, // 0x0D
  17. {0x60,0x7E,0x0A,0x35,0x3F}, // 0x0E
  18. {0x2A,0x1C,0x36,0x1C,0x2A}, // 0x0F
  19. {0x00,0x7F,0x3E,0x1C,0x08}, // 0x10
  20. {0x08,0x1C,0x3E,0x7F,0x00}, // 0x11
  21. {0x14,0x36,0x7F,0x36,0x14}, // 0x12
  22. {0x00,0x5F,0x00,0x5F,0x00}, // 0x13
  23. {0x06,0x09,0x7F,0x01,0x7F}, // 0x14
  24. {0x22,0x4D,0x55,0x59,0x22}, // 0x15
  25. {0x60,0x60,0x60,0x60,0x00}, // 0x16
  26. {0x14,0xB6,0xFF,0xB6,0x14}, // 0x17
  27. {0x04,0x06,0x7F,0x06,0x04}, // 0x18
  28. {0x10,0x30,0x7F,0x30,0x10}, // 0x19
  29. {0x08,0x08,0x3E,0x1C,0x08}, // 0x1A
  30. {0x08,0x1C,0x3E,0x08,0x08}, // 0x1B
  31. {0x78,0x40,0x40,0x40,0x40}, // 0x1C
  32. {0x08,0x3E,0x08,0x3E,0x08}, // 0x1D
  33. {0x30,0x3C,0x3F,0x3C,0x30}, // 0x1E
  34. {0x03,0x0F,0x3F,0x0F,0x03}, // 0x1F
  35. {0x00,0x00,0x00,0x00,0x00}, // 0x20
  36. {0x00,0x06,0x5F,0x06,0x00}, // 0x21
  37. {0x07,0x03,0x00,0x07,0x03}, // 0x22
  38. {0x24,0x7E,0x24,0x7E,0x24}, // 0x23
  39. {0x24,0x2B,0x6A,0x12,0x00}, // 0x24
  40. {0x63,0x13,0x08,0x64,0x63}, // 0x25
  41. {0x36,0x49,0x56,0x20,0x50}, // 0x26
  42. {0x00,0x07,0x03,0x00,0x00}, // 0x27
  43. {0x00,0x3E,0x41,0x00,0x00}, // 0x28
  44. {0x00,0x41,0x3E,0x00,0x00}, // 0x29
  45. {0x08,0x3E,0x1C,0x3E,0x08}, // 0x2A
  46. {0x08,0x08,0x3E,0x08,0x08}, // 0x2B
  47. //{0x00,0xE0,0x60,0x00,0x00}, // 0x2C
  48. {0x00,0x70,0x30,0x00,0x00}, // 0x2C move "," one pixel up
  49. {0x08,0x08,0x08,0x08,0x08}, // 0x2D
  50. {0x00,0x60,0x60,0x00,0x00}, // 0x2E
  51. {0x20,0x10,0x08,0x04,0x02}, // 0x2F
  52. {0x3E,0x51,0x49,0x45,0x3E}, // 0x30
  53. {0x00,0x42,0x7F,0x40,0x00}, // 0x31
  54. {0x62,0x51,0x49,0x49,0x46}, // 0x32
  55. {0x22,0x49,0x49,0x49,0x36}, // 0x33
  56. {0x18,0x14,0x12,0x7F,0x10}, // 0x34
  57. {0x2F,0x49,0x49,0x49,0x31}, // 0x35
  58. {0x3C,0x4A,0x49,0x49,0x30}, // 0x36
  59. {0x01,0x71,0x09,0x05,0x03}, // 0x37
  60. {0x36,0x49,0x49,0x49,0x36}, // 0x38
  61. {0x06,0x49,0x49,0x29,0x1E}, // 0x39
  62. {0x00,0x6C,0x6C,0x00,0x00}, // 0x3A
  63. //{0x00,0xEC,0x6C,0x00,0x00}, // 0x3B
  64. {0x00,0x76,0x36,0x00,0x00}, // 0x3B move ";" one pixel up
  65. {0x08,0x14,0x22,0x41,0x00}, // 0x3C
  66. {0x24,0x24,0x24,0x24,0x24}, // 0x3D
  67. {0x00,0x41,0x22,0x14,0x08}, // 0x3E
  68. {0x02,0x01,0x59,0x09,0x06}, // 0x3F
  69. {0x3E,0x41,0x5D,0x55,0x1E}, // 0x40
  70. {0x7E,0x11,0x11,0x11,0x7E}, // 0x41
  71. {0x7F,0x49,0x49,0x49,0x36}, // 0x42
  72. {0x3E,0x41,0x41,0x41,0x22}, // 0x43
  73. {0x7F,0x41,0x41,0x41,0x3E}, // 0x44
  74. {0x7F,0x49,0x49,0x49,0x41}, // 0x45
  75. {0x7F,0x09,0x09,0x09,0x01}, // 0x46
  76. {0x3E,0x41,0x49,0x49,0x7A}, // 0x47
  77. {0x7F,0x08,0x08,0x08,0x7F}, // 0x48
  78. {0x00,0x41,0x7F,0x41,0x00}, // 0x49
  79. {0x30,0x40,0x40,0x40,0x3F}, // 0x4A
  80. {0x7F,0x08,0x14,0x22,0x41}, // 0x4B
  81. {0x7F,0x40,0x40,0x40,0x40}, // 0x4C
  82. {0x7F,0x02,0x04,0x02,0x7F}, // 0x4D
  83. {0x7F,0x02,0x04,0x08,0x7F}, // 0x4E
  84. {0x3E,0x41,0x41,0x41,0x3E}, // 0x4F
  85. {0x7F,0x09,0x09,0x09,0x06}, // 0x50
  86. {0x3E,0x41,0x51,0x21,0x5E}, // 0x51
  87. {0x7F,0x09,0x09,0x19,0x66}, // 0x52
  88. {0x26,0x49,0x49,0x49,0x32}, // 0x53
  89. {0x01,0x01,0x7F,0x01,0x01}, // 0x54
  90. {0x3F,0x40,0x40,0x40,0x3F}, // 0x55
  91. {0x1F,0x20,0x40,0x20,0x1F}, // 0x56
  92. {0x3F,0x40,0x3C,0x40,0x3F}, // 0x57
  93. {0x63,0x14,0x08,0x14,0x63}, // 0x58
  94. {0x07,0x08,0x70,0x08,0x07}, // 0x59
  95. {0x71,0x49,0x45,0x43,0x00}, // 0x5A
  96. {0x00,0x7F,0x41,0x41,0x00}, // 0x5B
  97. {0x02,0x04,0x08,0x10,0x20}, // 0x5C
  98. {0x00,0x41,0x41,0x7F,0x00}, // 0x5D
  99. {0x04,0x02,0x01,0x02,0x04}, // 0x5E
  100. //{0x80,0x80,0x80,0x80,0x80}, // 0x5F
  101. {0x40,0x40,0x40,0x40,0x40}, // 0x5F move "_" one pixel up
  102. {0x00,0x03,0x07,0x00,0x00}, // 0x60
  103. {0x20,0x54,0x54,0x54,0x78}, // 0x61
  104. {0x7F,0x44,0x44,0x44,0x38}, // 0x62
  105. {0x38,0x44,0x44,0x44,0x28}, // 0x63
  106. {0x38,0x44,0x44,0x44,0x7F}, // 0x64
  107. {0x38,0x54,0x54,0x54,0x08}, // 0x65
  108. {0x08,0x7E,0x09,0x09,0x00}, // 0x66
  109. //{0x18,0xA4,0xA4,0xA4,0x7C}, // 0x67
  110. {0x0C,0x52,0x52,0x52,0x3E}, // 0x67 move "g" one pixel up
  111. {0x7F,0x04,0x04,0x78,0x00}, // 0x68
  112. {0x00,0x00,0x7D,0x40,0x00}, // 0x69
  113. //{0x40,0x80,0x84,0x7D,0x00}, // 0x6A
  114. {0x20,0x40,0x44,0x3D,0x00}, // 0x6A move "j" one pixel up and shorten it
  115. {0x7F,0x10,0x28,0x44,0x00}, // 0x6B
  116. {0x00,0x00,0x7F,0x40,0x00}, // 0x6C
  117. {0x7C,0x04,0x18,0x04,0x78}, // 0x6D
  118. {0x7C,0x04,0x04,0x78,0x00}, // 0x6E
  119. {0x38,0x44,0x44,0x44,0x38}, // 0x6F
  120. //{0xFC,0x44,0x44,0x44,0x38}, // 0x70
  121. {0x7E,0x22,0x22,0x22,0x1C}, // 0x70 move "p" one pixel up
  122. //{0x38,0x44,0x44,0x44,0xFC}, // 0x71
  123. {0x1C,0x22,0x22,0x22,0x3E}, // 0x71 move "q" one pixel up
  124. {0x44,0x78,0x44,0x04,0x08}, // 0x72
  125. {0x08,0x54,0x54,0x54,0x20}, // 0x73
  126. {0x04,0x3E,0x44,0x24,0x00}, // 0x74
  127. {0x3C,0x40,0x20,0x7C,0x00}, // 0x75
  128. {0x1C,0x20,0x40,0x20,0x1C}, // 0x76
  129. {0x3C,0x60,0x30,0x60,0x3C}, // 0x77
  130. {0x6C,0x10,0x10,0x6C,0x00}, // 0x78
  131. //{0x9C,0xA0,0x60,0x3C,0x00}, // 0x79
  132. {0x4E,0x50,0x30,0x1E,0x00}, // 0x79 move "y" one pixel up
  133. {0x64,0x54,0x54,0x4C,0x00}, // 0x7A
  134. {0x08,0x3E,0x41,0x41,0x00}, // 0x7B
  135. {0x00,0x00,0x77,0x00,0x00}, // 0x7C
  136. {0x00,0x41,0x41,0x3E,0x08}, // 0x7D
  137. {0x02,0x01,0x02,0x01,0x00}, // 0x7E
  138. {0x3C,0x26,0x23,0x26,0x3C}, // 0x7F
  139. #if 0
  140. {0x00,0x1E,0xA1,0xE1,0x21,0x12}, // 0x80
  141. {0x00,0x3D,0x40,0x20,0x7D,0x00}, // 0x81
  142. {0x00,0x38,0x54,0x54,0x55,0x09}, // 0x82
  143. {0x00,0x20,0x55,0x55,0x55,0x78}, // 0x83
  144. {0x00,0x20,0x55,0x54,0x55,0x78}, // 0x84
  145. {0x00,0x20,0x55,0x55,0x54,0x78}, // 0x85
  146. {0x00,0x20,0x57,0x55,0x57,0x78}, // 0x86
  147. {0x00,0x1C,0xA2,0xE2,0x22,0x14}, // 0x87
  148. {0x00,0x38,0x55,0x55,0x55,0x08}, // 0x88
  149. {0x00,0x38,0x55,0x54,0x55,0x08}, // 0x89
  150. {0x00,0x38,0x55,0x55,0x54,0x08}, // 0x8A
  151. {0x00,0x00,0x01,0x7C,0x41,0x00}, // 0x8B
  152. {0x00,0x00,0x01,0x7D,0x41,0x00}, // 0x8C
  153. {0x00,0x00,0x01,0x7C,0x40,0x00}, // 0x8D
  154. {0x00,0x70,0x29,0x24,0x29,0x70}, // 0x8E
  155. {0x00,0x78,0x2F,0x25,0x2F,0x78}, // 0x8F
  156. {0x00,0x7C,0x54,0x54,0x55,0x45}, // 0x90
  157. {0x00,0x34,0x54,0x7C,0x54,0x58}, // 0x91
  158. {0x00,0x7E,0x09,0x7F,0x49,0x49}, // 0x92
  159. {0x00,0x38,0x45,0x45,0x39,0x00}, // 0x93
  160. {0x00,0x38,0x45,0x44,0x39,0x00}, // 0x94
  161. {0x00,0x39,0x45,0x44,0x38,0x00}, // 0x95
  162. {0x00,0x3C,0x41,0x21,0x7D,0x00}, // 0x96
  163. {0x00,0x3D,0x41,0x20,0x7C,0x00}, // 0x97
  164. {0x00,0x9C,0xA1,0x60,0x3D,0x00}, // 0x98
  165. {0x00,0x3D,0x42,0x42,0x3D,0x00}, // 0x99
  166. {0x00,0x3C,0x41,0x40,0x3D,0x00}, // 0x9A
  167. {0x80,0x70,0x68,0x58,0x38,0x04}, // 0x9B
  168. {0x00,0x48,0x3E,0x49,0x49,0x62}, // 0x9C
  169. {0x00,0x7E,0x61,0x5D,0x43,0x3F}, // 0x9D
  170. {0x00,0x22,0x14,0x08,0x14,0x22}, // 0x9E
  171. {0x00,0x40,0x88,0x7E,0x09,0x02}, // 0x9F
  172. {0x00,0x20,0x54,0x55,0x55,0x78}, // 0xA0
  173. {0x00,0x00,0x00,0x7D,0x41,0x00}, // 0xA1
  174. {0x00,0x38,0x44,0x45,0x39,0x00}, // 0xA2
  175. {0x00,0x3C,0x40,0x21,0x7D,0x00}, // 0xA3
  176. {0x00,0x7A,0x09,0x0A,0x71,0x00}, // 0xA4
  177. {0x00,0x7A,0x11,0x22,0x79,0x00}, // 0xA5
  178. {0x00,0x08,0x55,0x55,0x55,0x5E}, // 0xA6
  179. {0x00,0x4E,0x51,0x51,0x4E,0x00}, // 0xA7
  180. {0x00,0x30,0x48,0x4D,0x40,0x20}, // 0xA8
  181. {0x3E,0x41,0x5D,0x4B,0x55,0x3E}, // 0xA9
  182. {0x04,0x04,0x04,0x04,0x04,0x1C}, // 0xAA
  183. {0x00,0x17,0x08,0x4C,0x6A,0x50}, // 0xAB
  184. {0x00,0x17,0x08,0x34,0x2A,0x78}, // 0xAC
  185. {0x00,0x00,0x30,0x7D,0x30,0x00}, // 0xAD
  186. {0x00,0x08,0x14,0x00,0x08,0x14}, // 0xAE
  187. {0x00,0x14,0x08,0x00,0x14,0x08}, // 0xAF
  188. {0x44,0x11,0x44,0x11,0x44,0x11}, // 0xB0
  189. {0xAA,0x55,0xAA,0x55,0xAA,0x55}, // 0xB1
  190. {0xBB,0xEE,0xBB,0xEE,0xBB,0xEE}, // 0xB2
  191. {0x00,0x00,0x00,0xFF,0x00,0x00}, // 0xB3
  192. {0x08,0x08,0x08,0xFF,0x00,0x00}, // 0xB4
  193. {0x00,0x70,0x28,0x25,0x29,0x70}, // 0xB5
  194. {0x00,0x70,0x29,0x25,0x29,0x70}, // 0xB6
  195. {0x00,0x70,0x29,0x25,0x28,0x70}, // 0xB7
  196. {0x3E,0x41,0x5D,0x55,0x41,0x3E}, // 0xB8
  197. {0x0A,0xFB,0x00,0xFF,0x00,0x00}, // 0xB9
  198. {0x00,0xFF,0x00,0xFF,0x00,0x00}, // 0xBA
  199. {0x0A,0xFA,0x02,0xFE,0x00,0x00}, // 0xBB
  200. {0x0A,0x0B,0x08,0x0F,0x00,0x00}, // 0xBC
  201. {0x00,0x18,0x24,0x66,0x24,0x00}, // 0xBD
  202. {0x00,0x29,0x2A,0x7C,0x2A,0x29}, // 0xBE
  203. {0x08,0x08,0x08,0xF8,0x00,0x00}, // 0xBF
  204. {0x00,0x00,0x00,0x0F,0x08,0x08}, // 0xC0
  205. {0x08,0x08,0x08,0x0F,0x08,0x08}, // 0xC1
  206. {0x08,0x08,0x08,0xF8,0x08,0x08}, // 0xC2
  207. {0x00,0x00,0x00,0xFF,0x08,0x08}, // 0xC3
  208. {0x08,0x08,0x08,0x08,0x08,0x08}, // 0xC4
  209. {0x08,0x08,0x08,0xFF,0x08,0x08}, // 0xC5
  210. {0x00,0x20,0x56,0x55,0x56,0x79}, // 0xC6
  211. {0x00,0x70,0x2A,0x25,0x2A,0x71}, // 0xC7
  212. {0x00,0x0F,0x08,0x0B,0x0A,0x0A}, // 0xC8
  213. {0x00,0xFE,0x02,0xFA,0x0A,0x0A}, // 0xC9
  214. {0x0A,0x0B,0x08,0x0B,0x0A,0x0A}, // 0xCA
  215. {0x0A,0xFA,0x02,0xFA,0x0A,0x0A}, // 0xCB
  216. {0x00,0xFF,0x00,0xFB,0x0A,0x0A}, // 0xCC
  217. {0x0A,0x0A,0x0A,0x0A,0x0A,0x0A}, // 0xCD
  218. {0x0A,0xFB,0x00,0xFB,0x0A,0x0A}, // 0xCE
  219. {0x00,0x5D,0x22,0x22,0x22,0x5D}, // 0xCF
  220. {0x00,0x22,0x55,0x59,0x30,0x00}, // 0xD0
  221. {0x00,0x08,0x7F,0x49,0x41,0x3E}, // 0xD1
  222. {0x00,0x7C,0x55,0x55,0x55,0x44}, // 0xD2
  223. {0x00,0x7C,0x55,0x54,0x55,0x44}, // 0xD3
  224. {0x00,0x7C,0x55,0x55,0x54,0x44}, // 0xD4
  225. {0x00,0x00,0x00,0x07,0x00,0x00}, // 0xD5
  226. {0x00,0x00,0x44,0x7D,0x45,0x00}, // 0xD6
  227. {0x00,0x00,0x45,0x7D,0x45,0x00}, // 0xD7
  228. {0x00,0x00,0x45,0x7C,0x45,0x00}, // 0xD8
  229. {0x08,0x08,0x08,0x0F,0x00,0x00}, // 0xD9
  230. {0x00,0x00,0x00,0xF8,0x08,0x08}, // 0xDA
  231. {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}, // 0xDB
  232. {0xF0,0xF0,0xF0,0xF0,0xF0,0xF0}, // 0xDC
  233. {0x00,0x00,0x00,0x77,0x00,0x00}, // 0xDD
  234. {0x00,0x00,0x45,0x7D,0x44,0x00}, // 0xDE
  235. {0x0F,0x0F,0x0F,0x0F,0x0F,0x0F}, // 0xDF
  236. {0x00,0x3C,0x42,0x43,0x3D,0x00}, // 0xE0
  237. {0x00,0xFE,0x4A,0x4A,0x34,0x00}, // 0xE1
  238. {0x00,0x3C,0x43,0x43,0x3D,0x00}, // 0xE2
  239. {0x00,0x3D,0x43,0x42,0x3C,0x00}, // 0xE3
  240. {0x00,0x32,0x49,0x4A,0x31,0x00}, // 0xE4
  241. {0x00,0x3A,0x45,0x46,0x39,0x00}, // 0xE5
  242. {0x00,0xFC,0x20,0x20,0x1C,0x00}, // 0xE6
  243. {0x00,0xFE,0xAA,0x28,0x10,0x00}, // 0xE7
  244. {0x00,0xFF,0xA5,0x24,0x18,0x00}, // 0xE8
  245. {0x00,0x3C,0x40,0x41,0x3D,0x00}, // 0xE9
  246. {0x00,0x3C,0x41,0x41,0x3D,0x00}, // 0xEA
  247. {0x00,0x3D,0x41,0x40,0x3C,0x00}, // 0xEB
  248. {0x00,0x9C,0xA0,0x61,0x3D,0x00}, // 0xEC
  249. {0x00,0x04,0x08,0x71,0x09,0x04}, // 0xED
  250. {0x00,0x00,0x02,0x02,0x02,0x00}, // 0xEE
  251. {0x00,0x00,0x07,0x03,0x00,0x00}, // 0xEF
  252. {0x00,0x00,0x08,0x08,0x08,0x00}, // 0xF0
  253. {0x00,0x00,0x24,0x2E,0x24,0x00}, // 0xF1
  254. {0x00,0x24,0x24,0x24,0x24,0x24}, // 0xF2
  255. {0x05,0x17,0x0A,0x34,0x2A,0x78}, // 0xF3
  256. {0x00,0x06,0x09,0x7F,0x01,0x7F}, // 0xF4
  257. {0x00,0x22,0x4D,0x55,0x59,0x22}, // 0xF5
  258. {0x00,0x08,0x08,0x2A,0x08,0x08}, // 0xF6
  259. {0x00,0x00,0x08,0x18,0x18,0x00}, // 0xF7
  260. {0x00,0x06,0x09,0x09,0x06,0x00}, // 0xF8
  261. {0x00,0x00,0x08,0x00,0x08,0x00}, // 0xF9
  262. {0x00,0x00,0x08,0x00,0x00,0x00}, // 0xFA
  263. {0x00,0x02,0x0F,0x00,0x00,0x00}, // 0xFB
  264. {0x00,0x09,0x0F,0x05,0x00,0x00}, // 0xFC
  265. {0x00,0x09,0x0D,0x0A,0x00,0x00}, // 0xFD
  266. {0x00,0x3C,0x3C,0x3C,0x3C,0x00}, // 0xFE
  267. {0x00,0x00,0x00,0x00,0x00,0x00} // 0xFF
  268. #endif
  269. };